At 13:34 28.05.2002 +0200, Henriksen Niels Kristoffer wrote:

>Does it matter if configuration is made AFTER getLogger calls? (Of course,
>config must be done before actual logging).

No, it does not matter. You can configure after getLogger calls. To
avoid the dreaded "log4j:WARN No appenders could be found" warning
message, configuration must precede actual logging. Are you sure you
are not logging in any of the static initializers of your classes?

>Do you know any resources on this matter (besides studying the source of
>log4j i detail)?

I'll be sure to cover this point in my upcoming log4j book.

>Kind regards - Niels.

--
Ceki


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

Reply via email to