demcompare.log_conf
Logconf demcompare: contains logging configuration
Module Contents
Functions
|
Setup the logging configuration |
|
Add dated file handler to the logger. |
- demcompare.log_conf.setup_logging(logconf_path='logging.json', default_level=logging.INFO)[source]
Setup the logging configuration If logconf_path is found, set the json logging configuration Else put default_level
- Parameters:
logconf_path (string) – path to the configuration file
default_level (logging level) – default level
cfg (Dict) – input cfg