Hi, > Hi, I want to verify if it is safe to use LoggerAppenderFile in Apache > (Prefork with multiple running processes).
I think it is > What will happen if multiple apache processes are writing at the same time? > Exception, or just simply overwritten? Look at this: http://logging.apache.org/log4php/coverage-report/appenders_LoggerAppenderFile.php.html#108 In the append method the file is written. As you can see we are using locking to write to a file. That means that process would we little time, if another process is just writing. For testing this is no problem. For live enviroment with high load and much threads I would recommend you to put your log level to a high one, f. e. ERROR or INFO (depending on how much you write). Avoid DEBUG level in live environments, because they can slow you down. BTW, this is true general in logging area. However, it will work (or its expected to do so). Best regards, Christian