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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

where to store .log file

Status
Not open for further replies.

juelmc

Technical User
Apr 23, 2003
1
US
Where do I store the .log file? How do I define it to be in my project class paht and not c:? Is there a place it should be stored at in our Web project?
 
I'll assume you're speaking of the output file in this answer.

In the log4j.properties file, you identify the location of the output as follows:

log4j.appender.fileOBTS.File=C:/Projects/obts/ServerOutput.html

In this example, I'm outputting to the html format and the 'fileOBTS' is the name of the category defined earlier on in the properties file.

Hope this is what you were looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top