logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qaz Zaq <consultant_...@yahoo.com>
Subject RE: Custom Appenders and Options
Date Tue, 22 Jan 2002 18:33:01 GMT
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" <Kapil.Madan@COGNOS.com> 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:consultant_lol@yahoo.com]
> 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:log4j-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:log4j-user-help@jakarta.apache.org>
> 
> 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:log4j-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:log4j-user-help@jakarta.apache.org>
> 


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

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