mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-19 10:06:00 +01:00
working dockerization
This commit is contained in:
1 parent
cf4b05c0a5
commit
dfe5d2781d
23 files changed
+299
-95
No files matched your search
@@ -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