logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Randall <javabr...@gmail.com>
Subject Re: SMTPAppender , server instance
Date Tue, 15 Nov 2011 21:53:28 GMT
Could you configure this with the Subject param?

>From log4j wiki:

<appender
name="AdministratorEmail"
class="org.apache.log4j.net.
SMTPAppender">
...
<param name="Subject"
value="SomeApplication on
SomeServer12" />

Brett

On 11/16/11, fachhoch <fachhoch@gmail.com> wrote:
>
> I am want to use   org.apache.log4j.net.SMTPAppender , can this appender
> append the system name   when sending email ?
>
> Our code will be deployed to production , staging , training , development
> instance.
> SMTPAppender    send out email but I cannot tell if this exception happened
> in production, staging,development , training environment, any suggestions?
> I  prefer not to change code for each   instance deployment.
>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/SMTPAppender-%2C-server-instance-tp32850377p32850377.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

-- 
Sent from my mobile device

---------------------------------------------------------------------
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