[debian-mysql] Bug#578715: [mysql-server-5.1] put all logs in a single directory by default

Filipus Klutiero chealer at gmail.com
Thu Apr 22 03:15:49 UTC 2010


Package: mysql-server-5.1
Version: 5.1.45-1
Severity: wishlist

MySQL currently uses /var/log/ for its logs, but some files are put directly in there and others are in mysql/. This is confusing. The binary logs, which are by default unused, but still exist, are directly in /var/log/, named mysql.log[...]. The general log, which is by default diasbled, is in mysql/ if one keeps the suggested value. There is also mysql.err in /var/log/. The general log and the binary log are most confusing because they use the same file name and are only distinguished by their directory.

IMHO it would be better to have all logs in mysql/, perhaps named
error.log
binary.log
general.log

However, there may be cross-distribution reasons behind the current schema. Or perhaps it's too late to change this because handling upgrades would be too difficult.





More information about the pkg-mysql-maint mailing list