Re: Logging to multiple appenders with different levels

2006-11-28 Thread Adrian Sandor
"Start logging"? :) Well, I checked the docs and some other stuff I found on the net, and I think I solved the problem. I wrote my own LoggerLevelFilter that rejects events that match the logger but have a lower level, and is neutral for the rest. And, of course, I used an xml configuration. I u

Re: Logging to multiple appenders with different levels

2006-11-28 Thread James Stauffer
Yes it does work in 1.2.x and start logging in the javadocs for org.apache.log4j.spi.Filter On 11/28/06, Adrian Sandor <[EMAIL PROTECTED]> wrote: Thanks; where can I find some documentation about filters, and examples? Do they work with 1.2.14? - Original Message From: James Stauffer <

Re: Logging to multiple appenders with different levels

2006-11-28 Thread Adrian Sandor
Thanks; where can I find some documentation about filters, and examples? Do they work with 1.2.14? - Original Message From: James Stauffer <[EMAIL PROTECTED]> To: Log4J Users List Sent: Wednesday, November 29, 2006 12:15:37 PM Subject: Re: Logging to multiple appenders with different lev

Re: Logging to multiple appenders with different levels

2006-11-28 Thread James Stauffer
Take a look at using filters (must use XML config). I think that will work. On 11/28/06, Adrian Sandor <[EMAIL PROTECTED]> wrote: Yes, I want two levels for the same category. I don't know if it's possible, I looked at the log4j 1.2.14 source/javadoc and the Category class has addAppender(App

Re: Logging to multiple appenders with different levels

2006-11-28 Thread Adrian Sandor
Yes, I want two levels for the same category. I don't know if it's possible, I looked at the log4j 1.2.14 source/javadoc and the Category class has addAppender(Appender) and setLevel(Level) - it looks like it doesn't support multiple levels. But to me it seems like a natural requirement. As I al

Re: Logging to multiple appenders with different levels

2006-11-28 Thread James Stauffer
I am not sure that it would work to do that because you have two levels (debug and warn) that you want to use for java.sql. You may be able to do it with customer filters. Are you using .properties, .xml, or code for config? Please provide an attempt to achieve this any maybe we can tweak it to

Re: Deployment of 1.2.14 to Maven repository at ibiblio.org

2006-11-28 Thread Curt Arnold
On Nov 28, 2006, at 10:30 AM, Gallagher, Ron wrote: All -- Are there any plans to deploy version 1.2.14 to a the Maven repository that's hosted at ibilio.org? Ron Gallagher I made an attempt following the directions at http://maven.apache.org/ guides/mini/guide-ibiblio-upload.html, howev

Re: Possible RollingFileAppender issue

2006-11-28 Thread James Stauffer
I don't think log4j is creating server.silver3.2006112716. Could logkit be creating it? What exactly it logkit? It appears to be a logging framework distinct from log4j. On 11/27/06, Lott, Neil <[EMAIL PROTECTED]> wrote: -rw-rw2 neil2478223 Nov 27 17:18 server.log -rw-rw1

Deployment of 1.2.14 to Maven repository at ibiblio.org

2006-11-28 Thread Gallagher, Ron
All -- Are there any plans to deploy version 1.2.14 to a the Maven repository that's hosted at ibilio.org? Ron Gallagher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: File Appender in log4j

2006-11-28 Thread Shuh Chang
I think you can set the MaxBackupIndex parameter like this: log4j.appender.drfa.MaxBackupIndex=7 -Original Message- From: ying lcs [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 10:42 PM To: Log4J Users List Subject: Re: File Appender in log4j Thanks for the advice. Can you