[debian-mysql] Bug#545761: mysql-dfsg-5.1: Fix commented logging options to use general_log and general_log_file.

Mathias Gug mathiaz at ubuntu.com
Tue Sep 8 23:22:49 UTC 2009


Package: mysql-dfsg-5.1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu karmic


In Ubuntu, we've applied the attached patch to achieve the following:
The commented options in my.cnf about log_file have their named
changed.

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-9-generic (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== modified file 'debian/additions/my.cnf'
--- debian/additions/my.cnf	2009-08-21 05:53:29 +0000
+++ debian/additions/my.cnf	2009-08-10 14:52:35 +0000
@@ -69,8 +75,8 @@
 # Both location gets rotated by the cronjob.
 # Be aware that this log type is a performance killer.
 # As of 5.1 you can enable the log at runtime!
-#log_type           = FILE
-#general_log		= /var/log/mysql/mysql.log
+#general_log_file        = /var/log/mysql/mysql.log
+#general_log             = 1
 #
 # Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
 #


More information about the pkg-mysql-maint mailing list