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: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:05:39 |
Calls: | 6,495 |
Calls today: | 6 |
Files: | 12,099 |
Messages: | 5,277,030 |