Since commons-logging is just a wrapper to another logging
implementation (ie log4j, logkit, jdk14, etc), it is my belief that if
the underlying logger is thread safe, then commons-logging is also
thread safe.

IMHO, of course.

Scott

> -----Original Message-----
> From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, December 11, 2002 8:53 AM
> To: Jakarta-Commons-User
> Subject: [Logging] Thread safety guaruntee of Log classes?
> 
> 
> Struts framework classes make heavy use of Commons Logging.  
> However they always declare their Log instances as static 
> member variables.  I am currently in the processing of moving 
> from the Log4J API to Commons Logging. In Log4J the Category 
> is thread-safe.  Is there any guarantee that a Commons Log 
> instance is thread-safe?  I see nothing related to 
> thread-safety in the API docs.  If not, then why is Struts 
> assuming thread-safety?
> 
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

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

Reply via email to