Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log4j configuration using log4j.xml with WSAD 5.1.2

Status
Not open for further replies.

log4jexternalizer

Programmer
Oct 25, 2006
1
0
0
US
I have application having logging details configured through log4j.xml file.I am using a WSAD 5.1.2 IDE.The log4j.xml file is placed inside a war file under javasource directory.
Now I need to externalize the log4j.xml file to my file system.
My question is how does the log4j API recognizes the path of the log4j.xml file.In otherwords which class in the Log4j API reads the configuration details from the xml file at runtime and who provides the path of the log4j.xml file to the class in the API.

Can someone guide me on this?

Thanks in advance.
Regards,
Sachin Gupta

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top