Re: Is it safe to use LoggerAppenderFile in Apache (Prefork with multiple running processes)

2010-03-26 Thread Ryan Chan
Hi, On Fri, Mar 26, 2010 at 2:09 AM, Christian Grobmeier wrote: > No, the methods waits until it can get the lock. It does mean, that > your execution will slow down on that position. Thats why a high load > system should not have excessive logging enabled :-) Sorry, because I cannot the any se

Re: Is it safe to use LoggerAppenderFile in Apache (Prefork with multiple running processes)

2010-03-25 Thread Ryan Chan
Hi. On Thu, Mar 25, 2010 at 2:49 PM, Christian Grobmeier wrote: > Look at this: > http://logging.apache.org/log4php/coverage-report/appenders_LoggerAppenderFile.php.html#108 > According to the code, if LOCK_EX cannot be acquired immediately, does it mean some log will be dropped silently?

Is it safe to use LoggerAppenderFile in Apache (Prefork with multiple running processes)

2010-03-24 Thread Ryan Chan
Hi, I want to verify if it is safe to use LoggerAppenderFile in Apache (Prefork with multiple running processes). What will happen if multiple apache processes are writing at the same time? Exception, or just simply overwritten?