
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@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>*