Details
-
Type: Bug
-
Status: Resolved
-
Priority: Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: 2.3
-
Component/s: PicoContainer Gems
-
Labels:None
-
Number of attachments :
Description
The trick I used with Slf4j & Log4j of getting the log category in a separate string and serializing that particular string doesn't work with CommonsLogging since it appears that the CommonsLogging Log object doesn't have a getName()/getCategory() or any similar method.
I'm not sure if this is fixable.
I forgot:
The current workaround is to use the CommonsComponentMonitor constructor that takes either a Class or a String as the category name instead of providing a Logger directly.