Hi,
I would like to be able to change the logging settings of a running program.
The first problem is to refresh the logging configuration. At the moment I'm using a PropertyFileConfiguration file to configure the settings, but there doesn't seem to be a way to make it reload the properties file. What is the best solution for this ?
After the configuration is updated, I think I should use the following code to update the logging subsystem:
LoggingConfigurator configurator;
configurator.configure(&this->config());
This seems to work, but sometimes I have the problem that the AsyncStream blocks forever in its destructor. Is it not allowed to reconfigure the logging subsystem?
Thanks,
Ronny





