Verified Commit a116f676 authored by Marco Marinello's avatar Marco Marinello
Browse files

Fix error in pipeline due to unexisting log dir

parent d6649cd1
Pipeline #172 failed with stage
in 1 minute and 26 seconds
......@@ -177,7 +177,7 @@ LOGGING = {
'file': {
'level': 'DEBUG',
'class': 'logging.handlers.TimedRotatingFileHandler',
'filename': '/var/log/octonet/octonet.log',
'filename': '/var/log/octonet/octonet.log' if os.path.isdir('/var/log/octonet') else 'octonet.log',
'when': 'midnight',
'backupCount': 365,
'filters': ['require_debug_false'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment