Sample Header Ad - 728x90

How do I output MySQL logs to syslog?

14 votes
3 answers
39820 views
I want to use syslog for logging MySQL(5.1.41) on Ubuntu(10.04 LTS). I found information that output error log to syslog. [mysqld_safe] syslog But I want to use syslog for logging general logs and slow query logs. Please advise me how to write config file? I could not find how to do that in the reference manual. > http://dev.mysql.com/doc/refman/5.1/en/log-destinations.html
Asked by inohiro (345 rep)
Jun 29, 2011, 06:30 AM
Last activity: Dec 31, 2021, 12:04 AM