Hi,
There is currently no way to reflect programmatic changes into the config file. Such a feature would be possible to implement but there are no plans do so.
--
http://twitter.com/ceki

On 27/09/2011 11:37 PM, Berker Batur wrote:
Hi,

I want to save the current configuration of loggers in my application
to the configuration file. Is there anyway or any command to do that ?

What I want to do is that:

- start the logback with a user defined configuration file

- change level of some loggers, from the code, with setLevel method

- maybe append a socket appender, again in the code

- then, before exiting from the application tell logback to dump all
configuration changes to the configuration file.

If logback could immediately reflect the changes to the configuration
file when a change occurs also works for me.


Thanks,

Best Regards,

Berker Batur


_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to