* Dean Fiala wrote:

> Your root logger logs to the file appender, and since all log events go to
> to the root logger, it will write to both places.  It is possible to only
> have the logger write to the specified log and not the root logger, but that
> is not something I have wrapped my head around yet.

I had actually considered that this may be the case although I've not
read anything about it in the documentation.

I was thinking that maybe instead of the Appender overriding the other
appender it is infact appended (no pun intended ;-) thus giving two
appenders for the logger foo.bar.  Other options are overridden like
<level> etc.  I guess <appender-ref>'s are accumulated (via inheritance
or otherwise).

Or am I barking up the wrong XML-tree (couldn't resist that one I'm afraid).

Reply via email to