Re: level based logging into seperate files

2007-07-30 Thread Sarvananda
Since after a lot of readin, I figrured that filters can only be used in an XML filem I made an XMl file and a java class to test it. Alas, I am still getting errors : -- java -- log4j:ERROR Could not create the Layout. Reported error follows. java.lang.ClassNotFoundException:

Re: level based logging into seperate files

2007-07-30 Thread Sarvananda
Dont know why, but the params got missed in the previous post. heres the XML configuration: * ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/' appender

Re: level based logging into seperate files

2007-07-30 Thread James Stauffer
Are you using an un-modified log4j.jar? Open your log4j.jar and verify that org.apache.log4j.PatternLayout exists in it. On 7/30/07, Sarvananda [EMAIL PROTECTED] wrote: Since after a lot of readin, I figrured that filters can only be used in an XML filem I made an XMl file and a java class to