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