Hi All,
Currently all MySQL error logs and general logs are stored in /var/log/mysql/error.log and /var/log/mysql/mysql.log
I want to redirect these logs to syslog. So, I have addes the following to the configuration file of mysql:
[mysqld]
log-syslog = on
Now only MySQL error logs are only redirected to the syslog.
Is there a way to redirect both the error and general logs to syslog.
Currently all MySQL error logs and general logs are stored in/var/log/mysql/error.log and /var/log/mysql/mysql.log
I want to redirect these logs to syslog.
Now only MySQL error logs are only redirected to the syslog.
Is there a way to redirect both the error and general logs to syslog.
Hi All,
Currently all MySQL error logs and general logs are stored in /var/log/mysql/error.log and /var/log/mysql/mysql.log
I want to redirect these logs to syslog. So, I have addes the following
to the configuration file of mysql:
[mysqld]
log-syslog = on
Now only MySQL error logs are only redirected to the syslog.
Is there a way to redirect both the error and general logs to syslog.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 113 |
Nodes: | 8 (1 / 7) |
Uptime: | 164:56:12 |
Calls: | 2,505 |
Calls today: | 2 |
Files: | 8,705 |
Messages: | 1,931,447 |