[debian-mysql] Bug#751639: dual logs?

積丹尼 Dan Jacobson jidanni at jidanni.org
Sun Jun 15 01:08:29 UTC 2014


Package: mysql-common
Version: 5.5.37-1

Why are there apparently two parallel logging systems in place?

# find /var/log|grep mysql|xargs ls -ld
drwxr-s--- 2 mysql adm 1024 06-15 07:43 /var/log/mysql
-rw-r----- 1 mysql adm    0 04-29 07:53 /var/log/mysql.err
-rw-r----- 1 mysql adm    0 06-15 07:43 /var/log/mysql.log
-rw-r----- 1 mysql adm   20 06-13 01:29 /var/log/mysql.log.1.gz
-rw-r----- 1 mysql adm   20 06-04 07:35 /var/log/mysql.log.2.gz
-rw-r----- 1 mysql adm   20 05-24 05:30 /var/log/mysql.log.3.gz
-rw-r----- 1 mysql adm   20 05-23 07:15 /var/log/mysql.log.4.gz
-rw-r----- 1 mysql adm   20 05-22 12:03 /var/log/mysql.log.5.gz
-rw-r----- 1 mysql adm   20 05-07 01:01 /var/log/mysql.log.6.gz
-rw-r----- 1 mysql adm   20 05-06 07:10 /var/log/mysql.log.7.gz
-rw-r----- 1 mysql adm    0 06-15 07:43 /var/log/mysql/error.log
-rw-r----- 1 mysql adm   20 06-13 01:29 /var/log/mysql/error.log.1.gz
-rw-r----- 1 mysql adm 1102 06-04 09:08 /var/log/mysql/error.log.2.gz
-rw-r----- 1 mysql adm   20 05-24 05:30 /var/log/mysql/error.log.3.gz
-rw-r----- 1 mysql adm   20 05-23 07:15 /var/log/mysql/error.log.4.gz
-rw-r----- 1 mysql adm  701 05-22 14:33 /var/log/mysql/error.log.5.gz
-rw-r----- 1 mysql adm   20 05-07 01:01 /var/log/mysql/error.log.6.gz
-rw-r----- 1 mysql adm   20 05-06 07:10 /var/log/mysql/error.log.7.gz

I.e., shouldn't one do
$ rm /var/log/mysql.* ?



More information about the pkg-mysql-maint mailing list