dcsimg
No root logger?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Finn_MacCool
Posted On:   Friday, September 3, 2004 02:55 AM

I have an XML configuration file with a root logger and ten other loggers. My program is supposed to log to a different logger depending on which rule it is (1 through to 10). However no matter which logger the rule based stuff goes to, it's also always being output to the console too which is where my root logger is supposed to log out to. Is there anyway of disabling where the root logger logs to (as I dont want it to output anything) without it stopping the other loggers from outputting also?

Re: No root logger?

Posted By:   Benoit_Quintin  
Posted On:   Friday, September 3, 2004 06:53 AM

.setAdditivity(false);


It's in the API and the docs, look it up ;)
About | Sitemap | Contact