What I have done for the moment is set the values I want to replace as
${xxx.xxx} in my layout and change the corresponding System Property.
However I would think there is a cleaner way to do this..

j

-----Original Message-----
From: James Stauffer [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 21, 2006 3:55 PM
To: Log4J Users List
Subject: Re: Programmatically change properties of an appender

I am 90% sure the answer it yes but I don't know exactly which methods
you need to call to get the appender.

On 7/21/06, Levy, Jeremy <[EMAIL PROTECTED]> wrote:
> I would like to change the subject and the from address of a 
> smtpappender programmatically that is initially configured via a 
> properties file, is this possible?
>
> j
>
>
>
> --------------------------------------------------------
>
> Important Notice to Recipients:
> It is important that you do not use e-mail to request, authorize or
effect the purchase or sale of any security or commodity, to send fund
transfer instructions, or to effect any other transactions. Any such
request, orders, or instructions that you send will not be accepted and
will not be processed by Morgan Stanley.
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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

Important Notice to Recipients:
It is important that you do not use e-mail to request, authorize or effect the 
purchase or sale of any security or commodity, to send fund transfer 
instructions, or to effect any other transactions. Any such request, orders, or 
instructions that you send will not be accepted and will not be processed by 
Morgan Stanley.

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

Reply via email to