Skip to content
Snippets Groups Projects
Verified Commit 68d0020b authored by David Hoese's avatar David Hoese
Browse files

Disable matplotlib DEBUG/INFO messages

parent 02fcf257
Branches
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ def setup_logging(log_filename, level, format="%(asctime)s : %(levelname)s : %(m
stderr_handler.setFormatter(formatter)
logging.getLogger('').addHandler(stderr_handler)
logging.getLogger('sh').setLevel(max(logging.INFO, level))
logging.getLogger('matplotlib').setLevel(max(logging.WARNING, level))
def default_config(config_name="metobs_instruments.ini"):
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment