Thanks for your reply, 
If I  use param then I have  to send different deployments to different
servers whihc I dont want .  Can I  plugin some code  which appends the
system name  (I mean host name of the machine )to the value of the param ?


javabrett wrote:
> 
> Could you configure this with the Subject param?
> 
> From log4j wiki:
> 
> <appender
> name="AdministratorEmail"
> class="org.apache.log4j.net.
> SMTPAppender">
> ...
> 
> 
> Brett
> 
> On 11/16/11, fachhoch <[email protected]> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> -- 
> Sent from my mobile device
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/SMTPAppender-%2C-server-instance-tp32850377p32855452.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to