PDA

View Full Version : Email daily slow queries / Apache Error logs


PranK
20th October 2007, 16:17
Hi All,

I have been looking for a script for the last few days that will parse the contents of the mysql slow query log and maybe the httpd error logs into an email and send them daily.

Does anyone know of such a script? I'm sure I can write a script to attach the files to an email and send it, but considering my slow query log files (yes, plural) are all ~1GB in size, I dont like my chances. :D

Thanks in advance!

Christian