You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Ceki Gülcü <cg...@qos.ch> on 2001/10/04 21:34:55 UTC

Re: DailyRollingFileAppender, running under more than one JVM, and wr iting to a common log file

Richard,

It won't work. Only one JVM can access a FileAppender or any of its subclass instances.  Regards, Ceki

At 12:07 04.10.2001 -0400, you 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

--
Ceki Gülcü - http://qos.ch



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