Commit 1f4c2e78 by Fábián János

logger syslog

parent 1caf8013
...@@ -432,9 +432,12 @@ LOGGING = { ...@@ -432,9 +432,12 @@ LOGGING = {
'level': 'INFO', 'level': 'INFO',
'class': 'logging.handlers.SysLogHandler', 'class': 'logging.handlers.SysLogHandler',
'formatter': 'simple', 'formatter': 'simple',
'address': '/var/run/syslog', #'address': '/var/log/syslog',
# 'socktype': SOCK_STREAM, # 'socktype': SOCK_STREAM,
# 'address': ('host', '514'), # to local syslogd:udp
#'address': ('127.0.0.1', 514),
# to local syslogd:file (ubuntu)
'address': '/dev/log',
} }
}, },
'loggers': { 'loggers': {
......
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 sign in to comment