On Wed, 3 Mar 2010, Todd Rinaldo wrote:

> I have a need for multiple processes to append to the same log file.
> This seems like it'd be mostly doable if I use the syswrite feature of
> the File appender. The problem is that in order for this to work, I
> would think that Log4perl would need to re-open the file for write on
> each call. It doesn't seem to do that from what I can tell.

There's no need to open the file with each call, syswrites will be
atomic.

-- Mike

Mike Schilli
m...@perlmeister.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to