aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Logging.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Logging.py b/src/Logging.py
index 9d24fce0..b40ec698 100644
--- a/src/Logging.py
+++ b/src/Logging.py
@@ -43,10 +43,10 @@ class Log(object):
stdout_handler.setFormatter(formatter)
self.logger.addHandler(stdout_handler)
- test_handler = HookedHandler(self._on_log)
- test_handler.setLevel(LEVELS["debug"])
- test_handler.setFormatter(formatter)
- self.logger.addHandler(test_handler)
+ hook_handler = HookedHandler(self._on_log)
+ hook_handler.setLevel(LEVELS["debug"])
+ hook_handler.setFormatter(formatter)
+ self.logger.addHandler(hook_handler)
if to_file:
trace_path = os.path.join(location, "trace.log")