This discussion is archived
2 Replies Latest reply: Sep 3, 2007 9:15 PM by 807600 RSS

log4j.properties different levels to separate files

807600 Newbie
Currently Being Moderated
Hello,

Could someone please tell me how to define my log4j.properties file so that DEBUG, WARN, and ERROR messages go to different files. The issue I am facing is that my ERROR messages get logged with my WARN messages as ERROR is a higher level than WARN. Any help would be very much appreciated. Cheers!