buffered logs + piped logs

2004-10-14 Thread Brian Akins
If I enable buffered logs and use a log program (like rotate logs), it seems I loose whatever was in the buffer when I do a stop. Is the pipe being closed before the buffer is being flushed? -- Brian Akins Lead Systems Engineer CNN Internet Technologies

Re: buffered logs + piped logs

2004-10-14 Thread Joe Orton
On Thu, Oct 14, 2004 at 09:45:19AM -0400, Brian Akins wrote: If I enable buffered logs and use a log program (like rotate logs), it seems I loose whatever was in the buffer when I do a stop. Is the pipe being closed before the buffer is being flushed? Speculation: the buffer is being

Re: buffered logs + piped logs

2004-10-14 Thread Brian Akins
Joe Orton wrote: Speculation: the buffer is being flushed, but the piped logger is SIGTERMed already just like the restart case, per PR 26467? Perhaps. Any progress on that? My performance drops when I disable buffered logs, and I would like to be able to do piped logs. I modified rotatelogs to

Re: buffered logs + piped logs

2004-10-14 Thread Paul Querna
Brian Akins wrote: I would like to be able to have external logging, so I can rotate with out a restart. I would also like to still be able to do graceful restarts. I thought about using unix domain sockets. I didn't want to replicate someone else's work. I couldn't find anything on google.

Re: buffered logs + piped logs

2004-10-14 Thread Brian Akins
Paul Querna wrote: mod_log_spread: http://www.backhand.org/mod_log_spread/ Unfortunantly, not an option here :( I'm looking for something to implement before the first Tuesday in November... -- Brian Akins Lead Systems Engineer CNN Internet Technologies

Re: buffered logs + piped logs

2004-10-14 Thread Theo Schlossnagle
Brian Akins wrote: Paul Querna wrote: mod_log_spread: http://www.backhand.org/mod_log_spread/ Unfortunantly, not an option here :( I'm looking for something to implement before the first Tuesday in November... Out of curiosity, why is that not an option? It's used at a lot of _large_ sites.

Re: buffered logs + piped logs

2004-10-14 Thread Glenn Strauss
On Thu, Oct 14, 2004 at 02:03:06PM -0400, Brian Akins wrote: Joe Orton wrote: Speculation: the buffer is being flushed, but the piped logger is SIGTERMed already just like the restart case, per PR 26467? Perhaps. Any progress on that? My performance drops when I disable buffered logs,