Description:
When I configure in the [mysqld_safe] section error-log and syslog concurrently this is a conflict (currently).
As stated in this bug:
http://bugs.mysql.com/bug.php?id=29992
it is reported. Unfortunately to the wrong output channel. So I cannot see the conflict when I use any start/stop wrapper (for example mysql.server) as most customers possibly do.
How to repeat:
# my.cnf
[mysqld_safe]
syslog
log-error = error.log
/etc/init.d/mysql start
Suggested fix:
Changing the mysqld_safe as follows helps:
364 if [ $want_syslog -eq 1 ]
365 then
366 # User explicitly asked for syslog, so warn that it isn't used
367 logging=file <-- new!
368 log_error "Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect."
369 fi