[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    Re: DailyRollingFileAppender, running under more than one JVM, and wr	iting to a common log file
From:       David Owens <dowens () synxis ! com>
Date:       2001-10-04 20:33:23
[Download RAW message or body]

Richard /  Mats

I wrote a verion of the DailyRollingFileAppender called 
TimeRollingFileAppender
which handles multiple vms writing/rolling the same log file.
If you want a copy, let me know.

|)ave
dowens@synxis.com

Boyer, Richard wrote:

>Hi,
>
>Is it permissible to use the DailyRollingFileAppender to write to a common
>log file from more than one JVM.  Specifically, I want to write to a common
>log file from different servlet engines (using different JVMs) in IBM
>Websphere.  Will the two (or more) instances of DailyRollingFileAppenders
>step on each other when it comes time to roll the log file?  I did not see
>anything in the code to prevent this.
>
>Thanks
>Rick
>
>--------------------------------------------
>Richard J. Boyer
>Consultant Software Engineer
>Fidelity Life Insurance Company
>1 Spartan Way, TS2Z
>Merrimack, NH 03054
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic