summaryrefslogtreecommitdiffstats
path: root/nfvbench/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'nfvbench/log.py')
-rw-r--r--nfvbench/log.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/nfvbench/log.py b/nfvbench/log.py
index 674ddf8..e55c230 100644
--- a/nfvbench/log.py
+++ b/nfvbench/log.py
@@ -31,7 +31,10 @@ def setup(mute_stdout=False):
# disable unnecessary information capture
logging.logThreads = 0
logging.logProcesses = 0
+ # to make sure each log record does not have a source file name attached
+ # pylint: disable=protected-access
logging._srcfile = None
+ # pylint: enable=protected-access
def add_file_logger(logfile):
if logfile: