Actually quite confusing...:-)  In which class do I
put the below code snippet and which "myoption" is
as-is and which should be replaced by the actual
option name?

Thanks...

--- "Madan, Kapil" <[EMAIL PROTECTED]> wrote:
> define the property in your customized class
> 
> static final public String MY_OPTION = "MyOption";
> //1.
> protected String myOption = "value" ; //2.
> public void setMyOption(String val){ //3.
>         myOption = val;
>     }
> 
> does it help ...
> 
> 
> -----Original Message-----
> From: Qaz Zaq [mailto:[EMAIL PROTECTED]]
> Sent: 21 January 2002 23:42
> To: Log4J Users List
> Subject: Custom Appenders and Options
> 
> 
> Hi,
> 
> How can my custom appender pick up custom properties
> from log4j.properties?  Could not quite figure out
> the
> API.  Thanks.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> This message may contain privileged and/or
> confidential information.  If you
> have received this e-mail in error or are not the
> intended recipient, you
> may not use, copy, disseminate or distribute it; do
> not open any
> attachments, delete it immediately from your system
> and notify the sender
> promptly by e-mail that you have done so.  Thank
> you.
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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

Reply via email to