Re: Logging custom levels using log4j

2006-01-03 Thread Praveen Kumar Hasthalapuram
the xml configuration > will be used. > > Scott > > -Original Message- > From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] > Sent: Mon 1/2/2006 7:48 AM > To: Log4J Users List > Subject: Re: Logging custom levels using log4j > > Thanks Scott, > > Cu

RE: Logging custom levels using log4j

2006-01-02 Thread Scott Deboy
file, only the xml configuration will be used. Scott -Original Message- From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] Sent: Mon 1/2/2006 7:48 AM To: Log4J Users List Subject: Re: Logging custom levels using log4j Thanks Scott, Currenlty we are using log4j1.2 , but to sup

Re: Logging custom levels using log4j

2006-01-02 Thread Praveen Kumar Hasthalapuram
sion filter. > > Scott > > -Original Message- > From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] > Sent: Fri 12/30/2005 6:46 AM > To: Log4J Users List > Subject: Re: Logging custom levels using log4j > > Hi , > > We are using Struts framework for our

RE: Logging custom levels using log4j

2005-12-30 Thread Scott Deboy
-Original Message- From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] Sent: Fri 12/30/2005 6:46 AM To: Log4J Users List Subject: Re: Logging custom levels using log4j Hi , We are using Struts framework for our product(application) and using logj.properties file to configure logg

Re: Logging custom levels using log4j

2005-12-30 Thread Praveen Kumar Hasthalapuram
Hi , We are using Struts framework for our product(application) and using logj.properties file to configure logging. How can i configure Expression-based filters in log4j.properties? Is it possible to configure in properties file? One more basic question, Can we use both log4j.properties and log

Re: Logging custom levels using log4j

2005-12-29 Thread Praveen Kumar Hasthalapuram
Thanks Scott, I think this will help me. Regards, Praveen On 12/29/05, Scott Deboy <[EMAIL PROTECTED]> wrote: > > You can do this using log4j 1.3 using ExpressionFilter, or you could write > your own filter that does the same thing. > > Route all the events to both file appenders, and specify a

RE: Logging custom levels using log4j

2005-12-29 Thread Scott Deboy
You can do this using log4j 1.3 using ExpressionFilter, or you could write your own filter that does the same thing. Route all the events to both file appenders, and specify a different ExpressionFilter on each appender. An example expression you would use with ExpressionFilter: MSG ~= SNMP Re