summaryrefslogtreecommitdiffstats
path: root/doctor_tests/logger.py
diff options
context:
space:
mode:
Diffstat (limited to 'doctor_tests/logger.py')
-rw-r--r--doctor_tests/logger.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doctor_tests/logger.py b/doctor_tests/logger.py
index b7a49fdb..2da2c0de 100644
--- a/doctor_tests/logger.py
+++ b/doctor_tests/logger.py
@@ -40,6 +40,7 @@ class Logger(object):
file_handler = logging.FileHandler(filename, mode='w')
file_handler.setFormatter(formatter)
file_handler.setLevel(logging.DEBUG)
+ self.filename = file_handler.baseFilename
self.logger.addHandler(file_handler)
def getLogger(self):