commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: [Logging] Thread safety guaruntee of Log classes?
Date Wed, 11 Dec 2002 19:01:24 GMT


On Wed, 11 Dec 2002, Scott Sanders wrote:

> Date: Wed, 11 Dec 2002 09:58:12 -0800
> From: Scott Sanders <ssanders@nextance.com>
> Reply-To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
> To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
> Subject: RE: [Logging] Thread safety guaruntee of Log classes?
>
> 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.
>

For the standard wrappers that are provided, there are no thread safety
issues -- all they do is pass the call on down to the actual logging
implementation that you're using, with no local state information being
saved.

> IMHO, of course.
>
> Scott
>

Craig


Mime
View raw message