And/or you could use the "tee" command ("man tee") in the pipe...


2012/2/23 Rich Megginson <rmeggins@redhat.com>
On 02/23/2012 08:34 AM, Daniel Fenert wrote:
Hi,

I'd like to log to named pipe (just like said here:
http://directory.fedoraproject.org/wiki/Named_Pipe_Log_Script) for some
live analysis and ALSO log to access log as usual.
Is it possible?
You would have to alter the named pipe log script to write the regular access log file itself - the server cannot write to two different access logs at the same time.

I'd like to avoid logging everything via this script (I have 1GB logs
every 20 minutes in peak hours on each slave).