On Wed, Feb 16, 2005 at 12:12:55PM +0100, Christian Hammers wrote: > Hello Ryszard > No. You have to distinguish between log/bin-log and the error log. > The former is configurable and for queries and the latter is not > configurable i.e. always on and logs error messages to your syslog. > > (syslog is a Debian enhancement, it's comparable to the "err-log" > option from the MySQL manual) > > So you can safely disable the "log" in my.cnf and I close this bug report.
Could you, please, add some directives (maybe commented out) to my.cnf showing how to configure errorlog and add a comment about logging to syslog? Now it is not obvious how is it configured - you provide logrotate configuration for rotation of mysql.err and I've had to look at mysql docs to check how to generate this log. I thing it would be sufficient to add #log-error = /var/log/mysql/mysql.err near #log-slow-queries = /var/log/mysql/mysql-slow.log and maybe a notice, that that isn't nessessary because of syslog configuration. Regards, Richard. -- "First they ignore you. Then they laugh at you. Then they fight you. Then you win." - Mohandas Gandhi.
signature.asc
Description: Digital signature