I am using Python logging module and using YAML file to define the configuration, then initialize the logging as follows:
with open(config_file_path, 'r') as f:
config = yaml.load(f.read())
logging.config.dictConfig(config)
Is there a way to monitor for file changes so that the new configuration is automatically picked up by logging module without having to restart the application?