[debian-mysql] Bug#781945: Bug#781945: mariadb-server-10.0: mysqld_safe Can't log to error log and syslog at the same time.
Cyril B.
cbay at excellency.fr
Mon Apr 6 21:39:24 UTC 2015
Otto Kekäläinen wrote:
> I can see this warning too, but I am not quite sure what to do about it.
>
> The my.cnf that is inherited from the mysql-common 5.5 package defines
> 'log_error = /var/log/mysql/error.log'
> The conf.d/mysqld_safe_syslog.cnf also inherited from old MySQL
> packaging has the line 'syslog'.
I know. I hesitated to open the bug against mysql-common, but since it
seems to be a MariaDB incompatibility, I thought it'd be better to see
what can be done here.
Patching /etc/init.d/mysql to remove the warning would be an option,
although it doesn't seem pretty at all.
Maybe investigate why 'disable_log_error' wouldn't work properly. I've
looked at MariaDB sources (handle_options in mysys/my_getopt.c) and from
a quick glance, it looks like it should. I haven't found anything in
MySQL's or MariaDB's documentation about specifying (disable|skip)_*
after the option is defined earlier.
--
Cyril
More information about the pkg-mysql-maint
mailing list