Log4j - different priority messages to different files
0 posts in topic
Flat View  Flat View

Posted By:   Jimmy_Mehta
Posted On:   Wednesday, October 31, 2007 05:07 PM


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

About | Sitemap | Contact