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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]