Thanks Ken!  That was the missing piece.



                                                                                       
                              
                    "Green, Ken"                                                       
                              
                    <KGreen@Choice        To:     "'Log4J Users List'" 
<[EMAIL PROTECTED]>               
                    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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 4:17 PM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]
>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to