Commit 0a0ded20 authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents 87a1a877 1b7a6464
......@@ -222,7 +222,11 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'trans.context_processors.registration',
)
if DEBUG:
# Default logging of Weblate messages
# - to syslog in production (if available)
# - otherwise to console
if DEBUG or not os.path.exists('/dev/log'):
DEFAULT_LOG = 'console'
else:
DEFAULT_LOG = 'syslog'
......
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