of these events happen,
and in my log4j xml file i'll caree an SMTP apender that send email to this
groupd each time an alert is called
From: Dan Tarkenton [EMAIL PROTECTED]
Reply-To: Log4J Users List [EMAIL PROTECTED]
To: Log4J Users List [EMAIL PROTECTED]
Subject: Re: How to add new level
Date: Tue, 27
.
From: Paul Smith [EMAIL PROTECTED]
Reply-To: Log4J Users List [EMAIL PROTECTED]
To: 'Log4J Users List' [EMAIL PROTECTED]
Subject: RE: How to add new level
Date: Wed, 28 Jul 2004 08:12:43 +1000
http://wiki.apache.org/logging-log4j/TraceLevel
-Original Message-
From: yacout dadoun [mailto
sent:
trace#my.package.TraceLevel
e.g:
log4j.rootLogger=trace#my.package.TraceLevel, MAIN, STDERR
-Original Message-
From: yacout dadoun [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 8:28 AM
To: [EMAIL PROTECTED]
Subject: RE: How to add new level
Thanks, i 've already
file ?
From: Paul Smith [EMAIL PROTECTED]
Reply-To: Log4J Users List [EMAIL PROTECTED]
To: 'Log4J Users List' [EMAIL PROTECTED]
Subject: RE: How to add new level
Date: Wed, 28 Jul 2004 08:36:57 +1000
You won't be able to call logger.levelName because unless you come up with
your own LoggerFactory
If you read the constructor information in the example, the 9 is the Syslog
equivalent level
-Original Message-
From: yacout dadoun [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 8:48 AM
To: [EMAIL PROTECTED]
Subject: RE: How to add new level
Thanks,
what about
file not properties file ?
From: Paul Smith [EMAIL PROTECTED]
Reply-To: Log4J Users List [EMAIL PROTECTED]
To: 'Log4J Users List' [EMAIL PROTECTED]
Subject: RE: How to add new level
Date: Wed, 28 Jul 2004 08:36:57 +1000
You won't be able to call logger.levelName because unless you come
I'm sure you can do this by either subclassing the Category or Logger class.
My only question is why do you want another level other than DEBUG,
INFO, WARNING, ERROR, or FATAL? What purpose do you have in mind?
On Tue, 27 Jul 2004 22:02:32 +, yacout dadoun
[EMAIL PROTECTED] wrote:
Hi,