Hello, In multithreaded applications I got messages like
2011-09-04/01:50:22.515/PDT [AwtEventQueue-1] INFO Received: message Thus, private final Logger LOG = Logger.getLogger(this.getClass()); "this.getClass()" does not really make sense? How to enable log4j more specific what class makes the message in multithreaded applications? Also, is there any way to log automatically the name of a method? Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
