rana chand
2020-10-19 07:21:42 UTC
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.
Regards,
Rana
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.
Regards,
Rana