Wow! This bug is still alive and kicking - I had all but forgotten about
it.

Since it's just over a year since I first reported it, lets see if we
can come up with a fix/patch. I know almost nothing about how the apt
packages work and even less about configuring syslog but I suspect for
the people the do know each of these subjects, the following
questions/tasks will probably have pretty short answers.

1.) The mysql-server package needs to be reconfigured to put mysql.err
and mysql.log into the empty /var/log/mysql directory. Maybe the actual
log files should just be called "error" and "info".

2.) logrotate needs to be updated to find the log files in the new
locations.

3.) Syslog needs a configuration file/parameter to log mysql info to
/var/log/mysql/mysql.err and /var/log/mysql/mysql.log

4.) Perhaps the default my.cnf file needs updating to suggest that users
make use of the /var/log/mysql/ location for any other mysql related
logging requirements.

-- 
Default installation does not log to /var/log/mysql.err or mysql.log
https://bugs.launchpad.net/bugs/185139
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to