You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Sanjay M <ms...@gmail.com> on 2007/01/22 09:06:05 UTC

Re: ERR/WARN: DOM element, No appenders found, etc.

Thanks a TON Ian, this worked for me finally! :-)

 <haggaic2v7-loguser <at> yahoo.com> writes:

> 
> This is a simple mistake I've made many a time before.  The value of
> log4j.configuration needs to be a URL.  So the following will work:
> 
> java -Dlog4j.configuration=file:./log4j.xml
> 
> -Ian


I used something like this giving an absolute path...
-Dlog4j.configuration="file:/D:/Projects/conf/log4j.properties"

Cheers,
Sanjay
http://msanjay.weblogs.us



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org