logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas E Wegscheid <Douglas_E_Wegsch...@whirlpool.com>
Subject Re: Extending Logger
Date Fri, 29 Oct 2010 13:38:14 GMT
I guess I don't understand the question: what are you wanting to do? 
programmatically set properties on a custom logger, or do it in xml? 

"custom" logger is a funny term: the configuration code handles 
distributed and customer-written loggers identically...

Douglas E Wegscheid
Lead Technical Analyst, Whirlpool Corporation

"A wrong note played hesitatingly is a wrong note. A wrong note played 
with conviction is interpretation."

"Mohan.Radhakrishnan" <mohanr@fss.co.in> 
10/29/2010 09:31 AM
Please respond to
"Log4J Users List" <log4j-user@logging.apache.org>


Re: Extending Logger

Since extension of Logger is discouraged I wrap it.

I think the configuration can be set like this. 
<logger name="Test" class="com.fss.flux.log4jextension.SchedulerLogger">


View this message in context: 
Sent from the Log4j - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message