Hello,

i start playing with Log4j 1.2.7 and read that it automatically looks for
log4j.xml

>Log4j developers are happy to announce the release of log4j 1.2.7. As
>of this release log4j will search for the file log4j.xml as well as
>the file log4j.properties during its initialization.

I put my log4j.xml file inside my WEB-INF directory but log4j did not use
it.
I receive the message that log4j is not set up properly.

When adding a DOMConfigurator.configure(<path-to-file-log4j.xml>);
everything works fine!

What is necessary to let log4j automatically load log4j.xml? Do i need to
call
something at start up? Is the filelocation not supported?

Thanks in advance, Leif


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

Reply via email to