logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Pernica <jan.pern...@pernica.org>
Subject Re: Query for SMTP Appender
Date Thu, 07 Jul 2005 12:00:39 GMT
we have developed such an appender :-) I will change our 
log4j.properties to appache one :-)

utpal wrote:

>I am using web based application. I am using log4j.properties file as :
>log4j.appender.EMAIL.Subject=TrackException : %s
>log4j.appender.EMAIL.layout.ConversionPattern=%d [%c] %-5p %m%n
>log4j.appender.R.layout.ConversionPattern=[%d] [%c] [%-5p] - %m%n
>Now whenever exception in any JSP or Java class is thrown I got email
>which include 
>these bunch of exceptions form JSPs and Java classes.
>Can I set SMTP Appender to get each exception seperately from mail? or
>Can I set it to get Exceptions
>from single JSP or Single Java class in a single mail?
>This I need bcoz I am setting dynamic subject each time which append
>class name (in which exception is generated) to subject.
>Příchozí zpráva neobsahuje viry.
>Zkontrolováno Antivirovým systémem AVG.
>Verze: 7.0.323 / Virová báze: 267.8.10/43 - datum vydání: 6.7.2005

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message