RE: Reload config file

2006-06-30 Thread Jitendra Kharche
Subject: Re: Reload config file Yes, you can. Be careful, though, that reloading, AFAIK, doesn't drop the old configuration and load the new one, it loads the new config on top of the old one. Which means that, if you configured an appender, and then reload the file without that appender,

Re: Reload config file

2006-06-30 Thread Javier Gonzalez
Yes, you can. Be careful, though, that reloading, AFAIK, doesn't drop the old configuration and load the new one, it loads the new config on top of the old one. Which means that, if you configured an appender, and then reload the file without that appender, said appender still "exists" and is conf

Reload config file

2006-06-30 Thread Jitendra Kharche
Can I reload the log4j configuration during runtime? I am using DOMConfigurator.configure(file-path) to load the log4j configuration when my app starts. If I change the log level and reload the configuration by calling DOMConfigurator.configure(file-path) again without shutting down the application