logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46941] Sub Level Logging Technique
Date Fri, 03 Apr 2009 02:28:10 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46941





--- Comment #2 from Curt Arnold <carnold@apache.org>  2009-04-02 19:28:08 PST ---
This really seems like you are trying to use levels to accomplish what the
logger hierarchy was designed to do.  Many people make the assumption that
since a common pattern for logger names is to follow class names that is the
only way they can be used.  Logger names are, in general, are "topics" and you
can use any system that works to give you the type of control that you'd want.

If you are trying to assign a "topic" (network, database, etc) to a level, then
you not messing up the "topic" or "audience" concept up with the "severity"
concept.  Logger names are really flexible and you can likely accomplish you
goals without nearly as many complications.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message