Hello, I activated logging for my class, and suddenly all of its supperclass
messages are being logged as well! I belive this is the expected behaviour,
but can I disable this?
My class
public class ExampleA extends ExampleB {
private static final Logger logger = Logger.getLogger(ExampleA.class);
}
Extended class (from a library I cannot change)
public class ExampleB {
protected final Log logger = LogFactory.getLog(getClass());
}
thanks
--
View this message in context:
http://www.nabble.com/How-to-prevent-log-messages-from-superclass-tp15562368p15562368.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]