Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2008 10:45:54 +0200
From:      Nicolas Letellier <nicolas@nicoelro.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   mysql log and newsyslog
Message-ID:  <20080702104554.6b1ebb45@nogrod.nicoelro.net>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080702104554.6b1ebb45>