commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Xu" <kenne...@gmail.com>
Subject RE: Logging: SimpleLog not thread-safe
Date Sat, 07 Oct 2006 04:25:50 GMT
> Solution: remove the dateFormatter instance variable and instantiate a
> new DateFormat each time in the log method, e.g.

How about a ThreadLocal variable?

Thanks,
Ken
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message