Add a file watcher which trigger the reload of the logging configuration

When log4j is in use, the default, the configuration is not reloaded on change on the configuration file. The suggested patch makes it check every 10s for change and reload the log config if necessary.