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

Hi...plz help log4j doubt

Status
Not open for further replies.

thedeveloper

Programmer
Sep 23, 2005
2
US
Hello

Apache logger has support for logging into files through file appender. But, if my file is existing on a different location on the "intranet", how should i specify that network location in the log4j.properties? Also, are there any issues that are inherently present with this sort of remote logging.

2. Supposing that we define a new appender for logging onto a n/w file, how to conditionally instruct logger to log to that appender when a special case is satisfied? what i know is that when logging has to be done, apache logger does so dutifully to all the appeneders defined in the log4j.properties file

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top