oggm.cfg.set_logging_config¶
-
oggm.cfg.
set_logging_config
(logging_level='INFO')[source]¶ Set the global logger parameters.
Logging levels:
- DEBUG
Print detailed information, typically of interest only when diagnosing problems.
- INFO
Print confirmation that things are working as expected, e.g. when each task is run correctly (this is the default).
- WARNING
Indication that something unexpected happened on a glacier, but that OGGM is still working on this glacier.
- WORKFLOW
Print only high level, workflow information (typically, one message per task). Errors will still be printed, but warnings won’t.
- ERROR
Print errors only, e.g. when a glacier cannot run properly.
- CRITICAL
Print nothing but fatal errors.
- Parameters
- logging_levelstr or None
the logging level. See description above for a list of options. Setting to None is equivalent to ‘CRITICAL’, i.e. no log output will be generated.