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