Merge pull request #429 from p53/fix-not-working-logging

Fix logging path, needs absolute path
This commit is contained in:
Khanh Ngo 2019-01-19 14:44:57 +07:00 committed by GitHub
commit 2b17469324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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