Howdy,

>I incurred in a similar doubt lately. Supose you are configuring your
>logger programmatically. So you can create an appender, create a
logger,
>and set the appender to that logger.  In the case you are creating more
>than one logger, it may be interesting (but I'm no sure yet...) to
reuse
>the same appender, so that making changes in one configuration, will
>reflect on ALL the loggers that use it.

Then add the appender to a logger that's the parent of both loggers,
e.g. if they're both in the same package add the appender to the
"package logger" rather than to the individual class' loggers.

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to