Re: level based logging into seperate files

2007-07-30 Thread Sarvananda
Thank you so much for your reply James. James Stauffer wrote: > > Are you using an un-modified log4j.jar? Open your log4j.jar and verify > that org.apache.log4j.PatternLayout exists in it. > Yes it does. I am using version 1.2.14. Logging as such works fine (makes me believe that the PatternL

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

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: *

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: org.