You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Lutz Michael <mi...@siemens.com> on 2002/12/18 19:19:24 UTC

Quick logger hierarchy question


Quick question:

When a log message is passed up the hierarchy, **why** is the
check against the Logger Level only made at the Logger
where it enters?

In other words, if we have a logger "A.B.C", and Logger "A"
is set to WARN, and "A.B.C" is set to ALL, and a
DEBUG call is made by "A.B.C", this message
will be sent to A's Appenders even though
"A"'s level is higher than DEBUG.

Thanks for considering this question, I'm just trying
to understand the rationale for this design.

Mike

-------------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions 
Health Services Corporation and are intended only for the addressee(s).  
The information contained herein may include trade secrets or privileged or 
otherwise confidential information.  Unauthorized review, forwarding, printing, 
copying, distributing, or using such information is strictly prohibited and may 
be unlawful.  If you received this message in error, or have reason to believe 
you are not authorized to receive it, please promptly delete this message and 
notify the sender by e-mail with a copy to CSOffice@smed.com.  Thank you

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>