logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: How to configure SMTPAppender?
Date Fri, 08 Nov 2002 17:37:49 GMT
Howdy,
The email happens "automatically" ;)  What is the point of SMTPAppender
otherwise?  It hides all the javax.mail details from you.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Adams, Dick W [PCS] [mailto:DAdams07@sprintspectrum.com]
>Sent: Friday, November 08, 2002 12:35 PM
>To: 'Log4J Users List'
>Subject: RE: How to configure SMTPAppender?
>
>
>Does the e-mail then happen automatically, or does one have to extend
>SMTPAppender?
>
>-----Original Message-----
>From: Sara Prigge [mailto:sprigge@LTCG.com]
>Sent: Friday, November 08, 2002 11:32 AM
>To: 'Log4J Users List'
>Subject: RE: How to configure SMTPAppender?
>
>
>This is how I use it in my xml:
>
><appender name="email" class="org.apache.log4j.net.SMTPAppender">
>		<param name="Threshold" value="ERROR"/>
>		<param name="SMTPHost" value="99.9.9.9"/>
>		<param name="To" value="someone@abc.com"/>
>		<param name="From" value="someone@abc.com"/>
>		<param name="Subject" value="My email subject"/>
>		<param name="BufferSize" value="1"/>
>
>		<layout class="org.apache.log4j.PatternLayout">
>			<param name="ConversionPattern"
value="%d{ABSOLUTE}
>(%F:%L) - %m%n"/>
>		</layout>
></appender>
>
>Hope that helps you!
>
>-----Original Message-----
>From: louis [mailto:louis@allsofts.com]
>Sent: Friday, November 08, 2002 11:30 AM
>To: Log4J Users List
>Subject: How to configure SMTPAppender?
>
>
>Hello,
>
>    I want to configure SMTPAppender in my log4j.xml file, and anyone
tell
>me what is the syntax (tag)? I can't find any document talking about
the
>log4j xml structure.
>
>Regards,
>Louis
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:log4j-user-
>help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:log4j-user-
>help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   <mailto:log4j-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:log4j-user-
>help@jakarta.apache.org>


Mime
View raw message