logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Cizarno <sci...@yahoo.com>
Subject Appenders Configuration
Date Tue, 03 Feb 2004 17:18:22 GMT
Do I need to add my SMTP appender to an AsyncAppender?
It seems to be very slow if i do not.  my log4j.xml
file is similar to the below.  is this a correct
configuration?

<appender name="async"
class="org.apache.log4j.AsyncAppender">
        <appender-ref ref="mail"/>
    </appender>

<appender name="mail"
class="org.apache.log4j.net.SMTPAppender">
<param name="foo" value="bar"/>
</appender>

<logger name="my.logger.name" additivity="false">
        <level value="debug"/>
        <appender-ref ref="async"/>
    </logger>

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message