← Back to team overview

ourdelta-developers team mailing list archive

[Bug 309250] Re: No log file created when log_error is not set

 

I did find the entries in /var/log/daemon and /var/log/syslog. However
this is what threw me off before:

http://dev.mysql.com/doc/refman/5.0/en/server-
options.html#option_mysqld_log

explicitly says:

Log errors and startup messages to this file. See Section 5.2.1, “The
Error Log”. If you omit the filename, MySQL uses host_name.err. If the
filename has no extension, the server adds an extension of .err.

So it seems that the syslog behavior is different from what
documentation says.

-- 
No log file created when log_error is not set
https://bugs.launchpad.net/bugs/309250
You received this bug notification because you are a member of OurDelta-
developers, which is the registrant for OurDelta.

Status in OurDelta - Builds for MySQL: New

Bug description:
It took me a while to narrow down why I didn't see any logs or activity in the logs after upgrading to the OurDelta MySQL build. I didn't have log_error set and the default wasn't working.

Once I set log_error = /var/log/mysql.log then I started seeing messages showing up when restarting mysqld.

I did check both the /var/log and the mysql data directory.



Follow ups

References