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
Do not print INFO or DEBUG but print WARNING (which indicate that something unexpected happened on a glacier but that OGGM is still working on this glacier).
- ERROR
Print workflow messages and errors only, e.g. when a glacier cannot run properly.
- WORKFLOW
Print only high level, workflow information (typically, one message per task). Errors and warnings will NOT be printed. This is the level we recommend for operational large-scale runs.
- 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.