commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Jacobsen" <>
Subject [Logging] Thread safety guaruntee of Log classes?
Date Wed, 11 Dec 2002 16:52:41 GMT
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?

View raw message