Commit d0c33bc6 authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Cleanup haproxy logs in rsyslogd

haproxy by itself provides good information, so there is no need to add
information from rsyslogd itself.
parent a4a2555b
......@@ -118,4 +118,4 @@ md5sum = 9d6111a5d6bc07e708116ca331925241
_update_hash_filename_ = templates/
md5sum = 6f0fd930ffb3230b7e8c781f88693d69
md5sum = a4135eec94d9febaf6fb51d885886175
......@@ -2,9 +2,12 @@ module(
SysSock.Name="{{ socket }}")
# Use traditional timestamp format.
# To enable high precision timestamps, comment out the following line.
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
# Just simply output the raw line without any additional information, as
# haproxy emits enough information by itself
# Also cut out first empty space in msg, which is related to rsyslogd
# internal and end up cutting on 8k, as it's default of $MaxMessageSize
template(name="rawoutput" type="string" string="%msg:2:8192%\n")
$ActionFileDefaultTemplate rawoutput
$FileCreateMode 0600
$DirCreateMode 0700
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment