I have created one appender per level but each appender gets logs of the given level and above. Do you want to see an example of that?
On 7/31/07, Sarvananda <[EMAIL PROTECTED]> wrote: > > 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 PatternLayout is > workin from the properties file) > if I use a simple properties file and append all levels into one single > file. Of course,thats not what I want. Since filters are the only way I can > append into different files, and filters are possible only with an xml file. > I am using the above, and having problems > Have you or has anyone tried to do this (seperate levels of logs into > seperate log files)? If yes please let me know the approach/code for this. > > -- > View this message in context: > http://www.nabble.com/level-based-logging-into-seperate-files-tf4150902.html#a11918863 > Sent from the Log4j - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]