Hi,
I just had 2 hours downtime as a result of low disk space ..
I realised after a lot of digging that my
As a result I am trying to use newsyslog()to rotate the files..
Could someone please tell me if the entry bellow look correct to log rotate mysql?
What do you guys use?
I just had 2 hours downtime as a result of low disk space ..
I realised after a lot of digging that my
/var/db/mysql/mysql-slow.log
was over 24 GB in size..As a result I am trying to use newsyslog()to rotate the files..
Could someone please tell me if the entry bellow look correct to log rotate mysql?
Code:
/var/db/mysql/mysql-slow.log mysql:mysql 600 7 1000 * J /var/db/mysql/holy.mydomain.co.uk.pid
/var/db/mysql/mysql-error.log mysql:mysql 600 7 1000 * J /var/db/mysql/holy.mydomain.co.uk.pid
What do you guys use?