From: shane <sh...@lo...> - 2003-08-01 11:56:04
|
I saw this on: <URL: http://cvs.slashcode.com/cgi-bin/cvsweb/slash/sql/mysql/upgrades > Here's a quick snippet: Added querylog. This checks for the presence of a file at /usr/local/slash/querylog every minute or so, and if present, starts logging ALL SQL queries into the table 'querylog'. Should be very useful for debugging but be careful using it on a running production site! (Which of course is where it's most useful!) This is *very* useful. Thanks Jamie. I thought others would get use out of it, but not necessarily have known about it. Now you do :) Shane |