commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Sanders" <ssand...@nextance.com>
Subject RE: [Logging] Thread safety guaruntee of Log classes?
Date Wed, 11 Dec 2002 17:58:12 GMT
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:jerome.jacobsen@gentootech.com] 
> 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?
> 
> jerome.jacobsen@gentootech.com
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:commons-user-help@jakarta.apache.org>
> 
> 

Mime
View raw message