At 07:32 22.03.2001 -0800, Paul Glezen wrote:
>I don't understand the multithreading issue associated with using a single
>reference of a Layout within a property file or an XML file.  As long as
>different instances are created for each appender, different threads
>associated with different appenders should each have their own instance of
>a Layout.
>
>Surely I'm missing something.

Paul, 

No you are not missing anything. If there is a new instance created for each layout 
reference, then there is no problem. I was, perhaps incorrectly, assuming that the 
layout reference would map always to a single instance. That would not work saely. 
Cheers, Ceki



I hope to see you at my ApacheCon 2001 presentation 
entitled "Log4j, A Logging Package for Java".

See http://ApacheCon.Com/2001/US/ for more details.

----
Ceki Gülcü          Web:   http://qos.ch     
av. de Rumine 5     email: [EMAIL PROTECTED] (preferred)
CH-1005 Lausanne           [EMAIL PROTECTED]
Switzerland         Tel: ++41 21 351 23 15


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to