oggm.cfg.set_logging_config

oggm.cfg.set_logging_config(logging_level='INFO', future=False)[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.
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.
CRITICAL
Print nothing but fatal errors.
Parameters:
logging_level : str 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.

future : bool

use the new behavior of logging=’WORKFLOW’.