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!

where should i place log4j.properties file

Status
Not open for further replies.

nkmb

Programmer
May 10, 2006
33
0
0
US
Hi,

i am learning log4j.where should i place .properties file? it,s with java file or class file.


thanks inadvance,
nkmb
 
It has to be on the classpath. I usually have a subfolder called 'conf' which holds any .properties files needed by my software. So if I'm running my app in the folder above, then I'd put conf/log4j.properties onto the classpath when invoking the app.

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top