aboutsummaryrefslogtreecommitdiff
path: root/summarize.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-13 18:17:56 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-13 18:17:56 +0200
commit3e3efc095ec8df80189f16d151c4348680c1efcd (patch)
tree7718732d8fb7ae2cd02ac711a271861192433322 /summarize.py
parent0825b2b53406bb4acf9d3857a1f846efa845877e (diff)
downloadallocbench-3e3efc095ec8df80189f16d151c4348680c1efcd.tar.gz
allocbench-3e3efc095ec8df80189f16d151c4348680c1efcd.zip
[logging] call getLogger only with the basename of the module files
Diffstat (limited to 'summarize.py')
-rwxr-xr-xsummarize.py5
1 files changed, 2 insertions, 3 deletions
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):