Hi,
You probably want to set additivity=false on these, so that the all
doesn't trump the error and they're kept separate, each at its own
level.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Oliver Epper [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 30, 2004 8:38 AM
>To: [EMAIL PROTECTED]
>Subject: level inheritance, kind of :)
>
>Hi all !
>
>I have some issues understanding how to use log4j. Please imagine the
>following:
>Two loggers, one called A, one called A.B.
>A has the appender AppA and A.B has the appender AppB.
>A's level is set to error and A.B's to all.
>What I need/want to achive is that A.B logs everything and A only error
>messages.
>The only way I could manage this is by settings AppA's threshold to
error.
>
>That's fine so far, but what is the sense of  setting A's level to
>error, then ?
>Even setting A's level to all doesn't give me more than error messages,
>then.
>
>would be nice, if someone could light this up for me
>Oliver
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to