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

Log4J prioirty in different files

Status
Not open for further replies.

xsds

Programmer
Oct 31, 2007
1
Hi,

I am new to the LOG4J and i am trying to learn so i have a question that if i need to put different priority log messages to different log files. Suppose i want to put all warn messages to one file and all info messages to another file and all error messages to another file. My root priority is Info and I also set different packages to different priority level.

Suppose com.tc.portal.xyz = info so how should i put different priority messages to different file

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top