[EMAIL PROTECTED] wrote:
Syslog-ng combined with logrotate
well, logrotate is for the coming log. what can we do towards existing
ones. :)
Thanks.
------Original Message------
From: Fayland Lam
To: mysql@lists.mysql.com
Subject: slow.log by date
Sent: Nov 30, 2008 18:22
well, our slow.log is pretty huge and say I just want the logs in the
last week. (tail -n XXX is not good enough)
I'm wondering there is a script (Perl or bash or others) can do this?
I'm not willing to reinvent the wheel. :)
Thanks.
--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]