Re: How to add new level

2004-07-28 Thread yacout dadoun
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

RE: How to add new level

2004-07-27 Thread yacout dadoun
. 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

RE: How to add new level

2004-07-27 Thread Paul Smith
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

RE: How to add new level

2004-07-27 Thread yacout dadoun
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

RE: How to add new level

2004-07-27 Thread Paul Smith
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

RE: How to add new level

2004-07-27 Thread Paul Smith
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

Re: How to add new level

2004-07-27 Thread Dan Tarkenton
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,