mysql log and newsyslog

Nicolas Letellier nicolas at nicoelro.net
Wed Jul 2 08:46:01 UTC 2008


Hello.

I have a problem with mysql logs and newsyslog. I archive mysql log
with this in my my.cnf:
log=/var/log/mysql

My log works fine.
However, when newsylog archives the log and create a new log file,
mysql doesn't log anymore anything.

See my newsyslog.conf:
/var/log/mysql  mysql:wheel 640  100   *    @T23  Z

And after 23:00:
-rw-r-----  1 mysql  wheel      62  1 jul 23:00 mysql
-rw-r-----  1 mysql  wheel  213993  1 jul 23:00 mysql.0.gz

The old log is archived, the new is created, but mysql doestn't log
anymore anything.

Any idea to solve this problem? 

Thanks!

-- 
 - Nicolas.


More information about the freebsd-questions mailing list