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: activateOptions() in RollingFileAppender
Date Tue, 07 Feb 2006 18:30:20 GMT

On Feb 7, 2006, at 8:21 AM, Bender Heri wrote:

> No. You should call it in code after having assigned new values to  
> appender properties.
> Heri

When configuring log4j using a configuration file, you are not  
responsible for calling activateOptions(), the configuration file  
reader will call it for you.  You would only need to call  
activateOptions() if you were constructing and configuring components  
in your Java source code.  In that case, you would construct the  
object, set the appropriate properties and then call activateOptions 
() before you connected it to the configuration.

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

View raw message