From 3e3efc095ec8df80189f16d151c4348680c1efcd Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 13 Jul 2020 18:17:56 +0200 Subject: [logging] call getLogger only with the basename of the module files --- summarize.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'summarize.py') diff --git a/summarize.py b/summarize.py index df5c464..545d06c 100755 --- a/summarize.py +++ b/summarize.py @@ -19,7 +19,6 @@ """Summarize the results of an allocbench run""" import argparse -import logging import os import sys @@ -28,9 +27,9 @@ import allocbench.facter as facter import allocbench.globalvars import allocbench.benchmark import allocbench.util -from allocbench.util import print_status, set_verbosity, print_license_and_exit +from allocbench.util import print_status, set_verbosity, print_license_and_exit, get_logger -logger = logging.getLogger(__file__) +logger = get_logger(__file__) def specific_summary(bench, sum_dir, allocators): -- cgit v1.2.3