Commit f771ce6e authored by Tomas Krizek's avatar Tomas Krizek

Merge branch 'improve-logging' into 'master'

statcmp: improve logging

See merge request !35
parents da204c32 e1e9497e
Pipeline #40928 passed with stage
in 53 seconds
......@@ -65,6 +65,9 @@ def load_summaries(
def setup_logging(level: int = LOGGING_LEVEL) -> None:
logging.basicConfig(format='%(asctime)s %(levelname)8s %(message)s', level=level)
logger = logging.getLogger('matplotlib')
# set WARNING for Matplotlib
logger.setLevel(logging.WARNING)
def add_arg_config(parser: ArgumentParser) -> None:
......
......@@ -244,6 +244,7 @@ def main():
except ValueError:
sys.exit(1)
logging.info('Start Comparison: %s', args.label)
passed = plot_overview(sumstats, field_weights, summaries, args.label)
if not passed:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment