SOURCES (MYSQL_5_0): mysqld.conf - use log-error directive to log daemon er...

glen glen at pld-linux.org
Mon Oct 27 12:25:17 CET 2008


Author: glen                         Date: Mon Oct 27 11:25:17 2008 GMT
Module: SOURCES                       Tag: MYSQL_5_0
---- Log message:
- use log-error directive to log daemon errors
- use query.log for query logs

---- Files affected:
SOURCES:
   mysqld.conf (1.34.2.7 -> 1.34.2.8) 

---- Diffs:

================================================================
Index: SOURCES/mysqld.conf
diff -u SOURCES/mysqld.conf:1.34.2.7 SOURCES/mysqld.conf:1.34.2.8
--- SOURCES/mysqld.conf:1.34.2.7	Sat Oct  4 14:48:14 2008
+++ SOURCES/mysqld.conf	Mon Oct 27 12:25:11 2008
@@ -83,11 +83,15 @@
 ;binlog-ignore-db=mysql
 ;binlog-ignore-db=test
 
+; mysqld error log (stderr)
+log-error = /var/log/mysql/mysqld.log
+log-warnings = 2
+
 ; Log slow queries
 log-slow-queries = /var/log/mysql/slow.log
 
 ; Log connections and queries. It slows down MySQL so it's disabled by default
-;log        = /var/log/mysql/log
+;log = /var/log/mysql/query.log
 
 ; Log all updates.
 ;log-update = /var/log/mysql/update
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mysqld.conf?r1=1.34.2.7&r2=1.34.2.8&f=u



More information about the pld-cvs-commit mailing list