On Wed, 28 Jul 2004, yacout dadoun wrote:
| What i need is to alert a group of people each time a specific kind of
| events happens, like lake of disc space, do a task manually cause it fails
| automatically etc...so i'd like to call an alert that sends email to a
| specific group.
| If i add a n
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:57:02 +1000
In the XML file, whereever you could use the strings DEBUG/INFO/WARN/ERRO
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]>
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,
>
OTECTED]
> Subject: RE: How to add new level
>
> Thanks for ur help
> >To reference your custom level in the configuration file, you use the
> >syntax
> >that is at the very bottom of the example I sent:
> >trace#my.package.TraceLevel
> >
> >e.g:
> >l
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 number 9 used in :LevelALL=new AlertLevel(ALL_INT,"ALL",9)
Thanks
From: "Paul Smith" <[EMAIL PROTECTED]>
Reply-To: "Log4J Users List" <[EMAIL PROTECTED]>
To: "'Log4J Users List'" <[EMAIL PROTECTED]>
Subject
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
the example I 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 ne
lName is called.
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
http://wiki.apache.org/logging-log4j/TraceLevel
> -Original Message-
> From: yacout dadoun [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 8:03 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: How to add new level
>
> Hi,
> How c
Hi,
How can i add new level to log4j?
Thanks
_
Share a single photo or an entire photo slide show right inside MSN®
Messenger.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market
12 matches
Mail list logo