logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Forcing XML configuration file to reset Log4J configuration
Date Tue, 13 Nov 2007 23:08:12 GMT

On Nov 13, 2007, at 3:58 PM, Paul Duffy wrote:

> Folks,
>
> Been bit by the incremental nature of XML configuration  
> application.  Is there any way to not apply a changed XML  
> configuration incrementally, but instead force full reset to  
> reflect the state of the configuration file?
>
> Cheers
>

log4j 1.2.15 and later support a reset attribute on the  
log4j:configuration element:

<log4j:configuration reset="true">

See http://issues.apache.org/bugzilla/show_bug.cgi?id=17531


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


Mime
View raw message