logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james.sny...@pncbank.com
Subject RE: changing SMTP "subject" dynamically
Date Tue, 08 Jan 2002 14:48:09 GMT

Thanks Ken!  That was the missing piece.



                                                                                         
                           
                    "Green, Ken"                                                         
                           
                    <KGreen@Choice        To:     "'Log4J Users List'" <log4j-user@jakarta.apache.org>
              
                    parts.com>            cc:                                         
                              
                                          Subject:     RE: changing SMTP "subject" dynamically
                      
                    01/07/2002                                                           
                           
                    05:19 PM                                                             
                           
                    Please respond                                                       
                           
                    to "Log4J                                                            
                           
                    Users List"                                                          
                           
                                                                                         
                           
                                                                                         
                           



Have you tried SMTPAppender.activateOptions()?

Ken Green

-----Original Message-----
From: james.snyder@pncbank.com [mailto:james.snyder@pncbank.com]
Sent: Monday, January 07, 2002 4:17 PM
To: log4j-user@jakarta.apache.org
Subject: changing SMTP "subject" dynamically


I would like to be able to fill the subject of the SMTP Appender
dynamically so that error email messages can be easily handled by my
support staff.  I've tried several things including PropertySetter which
appeared to work, but when actually sending the log command it reverted
back to the config file.  Any clues?  I've read all of the mail archives
that I can find and got a few leads, but nothing concrete that seems to
work.

Thanks!



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