DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26550>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26550 Incorrect use of appender [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2004-01-30 21:52 ------- You're missing the vital bit of information that Loggers are an inherited hierarchy. Loggers are a tree hierachy, and Logger 'foo' is a logical parent Logger of 'foo.bar'. log4j first sends a LoggingEvent to the requested Logger (say 'foo. bar'), which will go to 'Twofileout', BUT the event is then propagated up the Logger hierarchy to the root Logger, and on the way, it passes through the 'foo' logger, and of course will go into the 'Onefileout' appender. If you do not wish for this to happen, you will need to configure the "additivity" property for the 'foo.bar' Logger to be 'false' so that log4j stops propagating the event up the hierarchy. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
