> In my Program i used DOMConfigurator.configure("D:/log4j.xml");
> now it throws new Error.
>
> log4j:WARN No appenders could be found for logger (com.log.ClassLogger).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
What's in your log4j.xml? Have you defined a root logger?
On 23 August 2012 21:24, adicj wrote:
>
> hi ralph Goers,
>
> Thank you for your reply.I go through the refered site and i try to
> implement it.Intially i used log4j.properties file.Now i replaced that with
> log4j.xml
> In my Program i
hi ralph Goers,
Thank you for your reply.I go through the refered site and i try to
implement it.Intially i used log4j.properties file.Now i replaced that with
log4j.xml
In my Program i used DOMConfigurator.configure("D:/log4j.xml");
now it throws new Error.
log4j:WARN No appenders could be fou