Re: Logging custom level using log4j in java

2007-12-06 Thread orko
A good example will be found here: http://jaikiran.wordpress.com/2006/07/12/create-your-own-logging-level-in-log4j/ Curt Arnold <[EMAIL PROTECTED]> wrote: On Dec 6, 2007, at 5:19 PM, chiran wrote: > > Hi all, > It is very easy to create a custom log4j level. > All u need is the basic understandi

Re: Logging custom level using log4j in java

2007-12-06 Thread Curt Arnold
On Dec 6, 2007, at 5:19 PM, chiran wrote: Hi all, It is very easy to create a custom log4j level. All u need is the basic understanding of how the different levels are organized. Good example of extending levels for the right reason. Praveen Kumar Hasthalapuram wrote: Hi All, I nee

Re: Logging custom level using log4j in java

2007-12-06 Thread chiran
tom levels? > > Is there any provision to create custom levels and to configure it? > > I heard that by Filters we can do this, It will be great if anyone throw > some light on this. > > Thanks In Advacne, > > Praveen > > -- View this message in context: ht

Re: Logging custom level using log4j in java

2005-12-29 Thread Praveen Kumar Hasthalapuram
file. > > Cheers, > Philip. > > > -Original Message----- > From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] > Sent: December 29, 2005 9:07 AM > To: [email protected] > Subject: Logging custom level using log4j in java > > > Hi All, > I

RE: Logging custom level using log4j in java

2005-12-29 Thread Philip Denno
Cheers, Philip. -Original Message- From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] Sent: December 29, 2005 9:07 AM To: [email protected] Subject: Logging custom level using log4j in java Hi All, I need to log specified particular type of messages to one log file and

Logging custom level using log4j in java

2005-12-29 Thread Praveen Kumar Hasthalapuram
Hi All, I need to log specified particular type of messages to one log file and rest to another log file. For example say, if message contains "SNMP" or "CDP" and so on, need to log in to log1.log and rest of the messages need to log in to log2.log How to configure the log4j.properties to log