Hello Geff,

If both config files refer to the same log file the behavior is unspecified. Thus, odd behavior you are observing is "expected".

Can you have the two config files refer to *different* log files?

geff henderson chang wrote:
Hello,

I have 2 different applications that refer to the same log file
(/var/log/errors.log)  using RollingFileAppender.

First log4j.xml specifies a MaxFileSize of 50MB.
Second log4j.xml specifies a a MaxFileSize of 20MB.

Both have ERROR Thresholds.
Both also have MaxBackupIndex of 2.

But log file reaches up to 70+MB. Is this normal?

--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch

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

Reply via email to