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?
I'd like to avoid logging everything via this script (I have 1GB logs every 20 minutes in peak hours on each slave).
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).
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_Scripthttp://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).
W dniu 2012-02-23 16:37, Rich Megginson pisze:
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.
On wiki there's a section which describes (more or less) what I'm trying to achieve. Is it an error or am I misunderstanding this section?
Create a new log pipe file
In this case, you will tell the script to create a new file (e.g. errors.pipe). You must configure the directory server to use the new log.
Advantage - can use all of the log viewer and analysis tools Disadvantage - requires server configuration
TIA
389-users@lists.fedoraproject.org