mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-22 18:47:23 +01:00
working dockerization
This commit is contained in:
@@ -162,6 +162,8 @@ def shell(method, cmd_args, env={}, capture_stderr=False, return_bytes=False, tr
|
||||
|
||||
def create_syslog_handler():
|
||||
import logging.handlers
|
||||
# This requires rsyslog to be started.
|
||||
# Could be enhanced for docker logging with phusion/baseimage.
|
||||
handler = logging.handlers.SysLogHandler(address='/dev/log')
|
||||
handler.setLevel(logging.WARNING)
|
||||
return handler
|
||||
|
||||
Reference in New Issue
Block a user