http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html
> -----Original Message----- > From: None None [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 1:51 PM > To: [EMAIL PROTECTED] > Subject: Custom levels. > > So far I have log4j setup that INFo logs get logged to a rolling file and > fatal logs sent by e-mail. > > Now I would like to to my application the ability to send an e-mail when > it > has satrted and stopped.... I was thinking I could this be creating a > custom > level. > > Is there a better way? > > If not I have already extended the Level class, but the sample source does > not show how to use the custom level... How can I use my custom level? > > Thanks > > _________________________________________________________________ > Powerful Parental Controls Let your child discover the best the Internet > has > to offer. > http://join.msn.com/?pgmarket=en- > ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_ > MSNIS_Taglines > Start enjoying all the benefits of MSN- Premium right now and get the > first two months FREE*. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.772 / Virus Database: 519 - Release Date: 01.10.2004 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.772 / Virus Database: 519 - Release Date: 01.10.2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
