logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <...@qos.ch>
Subject Re: DailyRollingFileAppender, running under more than one JVM, and wr iting to a common log file
Date Thu, 04 Oct 2001 19:34:55 GMT
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


Mime
View raw message