Hi Ben,


Could you please redirect your question to log4j-user mailing list? Thank you.

For more info on log4j mailing lists please see

http://jakarta.apache.org/log4j/docs/contactUs.html

and

http://jakarta.apache.org/site/mail.html

Cheers,

ps: When you post to log4j-user, please specify the exact error log4j is generating.


At 09:47 AM 9/11/2003 +0100, Ben Gill wrote:
Hi,

If in my logj config I forget or comment out an entry for a logger (ie MyNewLoggerB below), I get a warning/error from log4j stating that there is no logger entry in the config...

Is it possible to add some config prop to tell log4j that if and when this happens (it is quite easy to miss an entry), the logging trace that comes from this logger should be redirected to the root logger?

log4j.rootLogger=INFO,

MyNewLoggerA=, mainappender
#MyNewLoggerB=, mainappender

Any help would be appreciated....

-- Ceki G�lc�

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

     See you in November at ApacheCon US 2003 in Las Vegas.
     http://apachecon.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to