aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rwxr-xr-xpyaggr3g470r/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/log.py b/pyaggr3g470r/log.py
index c41fecb9..5db5d838 100755
--- a/pyaggr3g470r/log.py
+++ b/pyaggr3g470r/log.py
@@ -36,7 +36,7 @@ class Log(object):
"""
import logging
self.logger = logging.getLogger("pyaggr3g470r")
- hdlr = logging.FileHandler('pyaggr3g470r/var/pyaggr3g470r.log')
+ hdlr = logging.FileHandler('./var/pyaggr3g470r.log')
formater = logging.Formatter('%(asctime)s %(levelname)s %(message)s')
hdlr.setFormatter(formater)
self.logger.addHandler(hdlr)
bgstack15