Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread Geff Chang [1]
That sounds good. I'll check it out. Thanks a lot. James Stauffer wrote: You can by having each application send the error logs to a socket appender and then have a listener that writes all of them to one file. You just shouldn't have multiple applications write to the same file. On 4/27/07, ge

Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread James Stauffer
You can by having each application send the error logs to a socket appender and then have a listener that writes all of them to one file. You just shouldn't have multiple applications write to the same file. On 4/27/07, geff henderson chang <[EMAIL PROTECTED]> wrote: Thanks! I guess I will just

Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread geff henderson chang
Thanks! I guess I will just have to use a different log file for different modules. I was hoping there was a way to log errors into just one file, though. But, thanks! You just made my day. Regards, Geff On 4/27/07, Ceki Gulcu <[EMAIL PROTECTED]> wrote: geff henderson chang wrote: > Ceki: > >

Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread Ceki Gulcu
geff henderson chang wrote: Ceki: Thanks for the response. Sure. I don't have any problems with using other log files. My current situation is this. I have different log4j.xml files for different modules. For the error log, they all refer to the same error.log But one of them specifies a

Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread geff henderson chang
Ceki: Thanks for the response. I don't have any problems with using other log files. My current situation is this. I have different log4j.xml files for different modules. For the error log, they all refer to the same error.log But one of them specifies a different maximum size. BUT, if I set th

Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread Ceki Gulcu
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 th

[HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread geff henderson chang
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