Re: activateOptions() in RollingFileAppender

2006-02-07 Thread Curt Arnold
On Feb 7, 2006, at 10:48 PM, Rahul wrote: Hi Curt, You said when configuration file (log4j.xml in my case) is used for configuring log4j, the configuration file reader will call the activateOptions(). But what needs to be written in configuration file which will tell the configuration fi

Re: activateOptions() in RollingFileAppender

2006-02-07 Thread Rahul
Hi Curt, You said when configuration file (log4j.xml in my case) is used for configuring log4j, the configuration file reader will call the activateOptions(). But what needs to be written in configuration file which will tell the configuration file reader to call activateOptions() ? I did tha

Re: activateOptions() in RollingFileAppender

2006-02-07 Thread Curt Arnold
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

RE: activateOptions() in RollingFileAppender

2006-02-07 Thread Bender Heri
uts). Heri > -Original Message- > From: Rahul [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 07, 2006 3:29 PM > To: Log4J Users List > Subject: Re: activateOptions() in RollingFileAppender > > > I am using log4j in my struts application. > And only code I have wri

Re: activateOptions() in RollingFileAppender

2006-02-07 Thread Rahul
Heri wrote: No. You should call it in code after having assigned new values to appender properties. Heri -Original Message- From: Rahul [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:20 PM To: log4j-user@logging.apache.org Subject: activateOptions() in RollingFileAppende

RE: activateOptions() in RollingFileAppender

2006-02-07 Thread Bender Heri
No. You should call it in code after having assigned new values to appender properties. Heri > -Original Message- > From: Rahul [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 07, 2006 3:20 PM > To: log4j-user@logging.apache.org > Subject: activateOptions() in Roll

activateOptions() in RollingFileAppender

2006-02-07 Thread Rahul
Hi all, I want to change the log file of my application at runtime, for which I need to call activateOptions() on RollingFileAppender. This is how my log4j.xml looks like: http://jakarta.apache.org/log4j/";> * * Is this the correc