logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: discreet log types
Date Thu, 14 Aug 2003 21:13:55 GMT
At 11:10 PM 8/14/2003 +0200, Ceki Gülcü wrote:

>If it can run, it can also walk!
>I think the existing system can be made to closely simulate the behavior 
>you describe.
>Here is how:
>- Set the root logger to the level OFF.
>- Name your loggers as "fatal", "error", "timing", "CodeBlock", 
>"ControlPoint", "DBAccess", "Info", etc. Set their levels to OFF when you 
>create them.
>- Whenever you can any of the above loggers, call it with the same 
>printing metdod, say info(Object message) of the org.apache.log4j.Logger class.

Whenever you *call* any ....

Sorry about that.

Ceki For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

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

View raw message