[logback-user] Log Rotation Fails on Windows if Using JNDI

Scott Dudley scott at telesoft.com
Thu Nov 3 22:02:52 CET 2011


So clarify for me...

If I have only one set of classes loaded by the servlet engine (Tomcat) 
and only one logback.xml file shared among all applications, how do I 
have multiple appenders?


On 11/03/2011 01:57 PM, ceki wrote:
>
> You have *multiple* appender instances (of the same type and run on 
> the same JVM) writing to the same file - that requires the prudent mode.
>
> On 03/11/2011 9:52 PM, Scott Dudley wrote:
>>
>> Understood. I have only one. Guess I'll have to unpack the source and
>> roll up my sleeves. Thanks.
>>
>>
>> On 11/03/2011 01:47 PM, ceki wrote:
>>> On 03/11/2011 9:37 PM, Scott Dudley wrote:
>>>>
>>>> My understanding from the documentation was that prudent was only
>>>> relevant when multiple JVM's were writing to the same log. I have only
>>>> one. I also read that it's use (although sometimes a necessity) 
>>>> incurs a
>>>> 3X drop in speed.
>>>
>>> Multiple appenders writing to the same file (regardless of JVM)
>>> requires the prudent mode.
>>>
>>>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
>

-- 
Scott Dudley
Senior Developer

Telesoft Corp. | 1661 E. Camelback Rd., Suite 300 | Phoenix, AZ, 85016

*o:* (602) 308-1115**| *f:* (602) 308-1300 | *w:* www.telesoft.com 
<http://www.telesoft.com>

*TEM Edge Blog <http://www.telesoft.com/blog> *|*Twitter 
<http://www.twitter.com/_Telesoft> *|*Facebook

<http://www.facebook.com/pages/Telesoft-Corp/76397971661>Join us at 
Telesoft Connections 2011. Learn more now! 
<http://www.telesoftconference.com>*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20111103/06e6bb47/attachment.html>


More information about the Logback-user mailing list