From 1ca311e120c46a9c310cdf51371b69c128d87a8d Mon Sep 17 00:00:00 2001 From: Pavol Ipoth Date: Sat, 22 Dec 2018 13:13:15 +0100 Subject: [PATCH] Fix logging path, needs absolute path --- configs/development.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/development.py b/configs/development.py index 954664c..20d32dd 100644 --- a/configs/development.py +++ b/configs/development.py @@ -4,7 +4,7 @@ basedir = os.path.abspath(os.path.dirname(__file__)) # BASIC APP CONFIG SECRET_KEY = 'changeme' LOG_LEVEL = 'DEBUG' -LOG_FILE = 'logs/log.txt' +LOG_FILE = os.path.join(basedir, 'logs/log.txt') # TIMEOUT - for large zones TIMEOUT = 10