File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes how to get the path of log4j.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to get the path of log4j.xml" Watch "how to get the path of log4j.xml" New topic

how to get the path of log4j.xml

P Lavti
Ranch Hand

Joined: Mar 27, 2007
Posts: 65
Hi all,

Is there any way to get the path of log4j.xml, if we have a reference to RepositorySelector or LoggerRepository or LogManager?

I chekcked the API's but couldn't figure out how to get it


-P Lavti<br />SCJP 5.0 (88%)
I agree. Here's the link:
subject: how to get the path of log4j.xml
Similar Threads
How to read log4j.xml file path at runtime without hardcoding the path in Java Class...?
How to have my own log4j.xml file in Jboss
initializing log4j
Trouble starting the application outside Eclipse
How to get log4j directory path