Hello,
If I have several threads running in a process; they may share a logger or
have separate loggers. But they all write to one log file.
e.g. logger.info();

Since log4j output to the file is quite neat even though interleaving
happens, I wondered if it uses file locks or synchronizes and if threads
waiting on this would create a bottleneck. Or is it asynchronous - the
threads simply write to a buffer and return and the buffer is written out
later (though writing to the buffer is synchronized)?

Thanks,
Anil Philip



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to