[UPHPU] Re: Using named pipe for MySQL error log

Ben Reece breece at doba.com
Wed May 14 10:52:44 MDT 2008


> That makes sense. Is there a way to do a "non blocking" pipe so that I 
> can watch it whenever I care to, but otherwise the log data is discarded?
>
You can get the same effect with file logging and log rotation -- only 
keep around a day's worth of logs, then just 'tail -f' to see the 
queries as they come through.  Granted, you'll still be using the disk 
some, but you can rotate your logs more frequently if you need to.


More information about the UPHPU mailing list