mirror of
https://github.com/optim-enterprises-bv/Mailu-OIDC.git
synced 2025-11-02 11:07:52 +00:00
Filter logs line based and in binary mode without decoding utf-8
(cherry picked from commit 4a49234afa)
This commit is contained in:
@@ -11,10 +11,10 @@ from podop import run_server
|
||||
from socrate import system, conf
|
||||
|
||||
system.set_env(log_filters=[
|
||||
r'(dis)?connect from localhost\[(\:\:1|127\.0\.0\.1)\]( quit=1 commands=1)?$',
|
||||
r'haproxy read\: short protocol header\: QUIT$',
|
||||
r'discarding EHLO keywords\: PIPELINING$'
|
||||
])
|
||||
rb'(dis)?connect from localhost\[(\:\:1|127\.0\.0\.1)\]( quit=1 commands=1)?$',
|
||||
rb'haproxy read\: short protocol header\: QUIT$',
|
||||
rb'discarding EHLO keywords\: PIPELINING$'
|
||||
])
|
||||
|
||||
os.system("flock -n /queue/pid/master.pid rm /queue/pid/master.pid")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user