Sigh. I repeat:

Please see ProppertyConfigurator.configureAndWatch at

http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/PropertyConfigurator.html#configureAndWatch(java.lang.String)

and  DOMConfigurator.configureAndWatch methods at

http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurator.html#configureAndWatch(java.lang.String,%20long)

Hope this makes it clearer. Ceki

At 04:57 10.08.2001 -0700, you wrote:
>Oh yeah I knew you could process configuration files as many times as 
>you want, but his problem would be knowing when the file has changed to
>trigger the processing. I'm assuming he wants this automated so that
>when he changes the configuration file the re-processing occurs
>"automatically". That's where he faces problems.
>
>-- Don
>
>--- Ceki Gülcü <[EMAIL PROTECTED]> wrote:
>> Don,
>> 
>> You can process configuration files as many times as you want. Please
>> see ProppertyConfigurator.configureAndWatch and
>> DOMConfigurator.configureAndWatch methods. Regards, Ceki
>> 
>> At 04:34 10.08.2001 -0700, Don Taylor wrote:
>> >AFAIK, no. You only process the configuration file once. You *could*
>> >programmatically change the priority of a category while the system
>> is
>> >running.
>> >
>> >--- Chien Wei Tan <[EMAIL PROTECTED]> wrote:
>> >> 
>> >> 
>> >> hi,
>> >> 
>> >> would anyone know if it is possible to say, have your system
>> running,
>> >> and
>> >> changing your log priority from the configuration file, without
>> >> stopping the
>> >> system.
>> >> 
>> >> eg. - system is running, and configuration file specifies logging
>> at
>> >> priority INFO
>> >>     - now, while system is running, can we change the
>> configuration
>> >> file to
>> >> specify logging at priority DEBUG
>> >>       so that the log now prints messages from priority DEBUG
>> upwards
>> >> ???
>> >> 
>> >> 
>> >> any hint would be greatly appreciated.
>> >> 
>> >> cheers,
>> >> chienwei
>> >> 
>> >> 
>> >>
>> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> >> 
>> >
>> >
>> >=====
>> >Don
>> >
>> >__________________________________________________
>> >Do You Yahoo!?
>> >Make international calls for as low as $.04/minute with Yahoo!
>> Messenger
>> >http://phonecard.yahoo.com/
>> >
>>
>>---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> --
>> Ceki Gülcü - http://qos.ch
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>
>
>__________________________________________________
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

--
Ceki Gülcü - http://qos.ch


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

Reply via email to