rsyslogd: ignore /dev/log when we load imuxsock

This commit is contained in:
Ryan Petrello
2020-04-14 11:34:58 -04:00
parent dbe949a2c2
commit 0f74a05fea
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ def construct_rsyslog_conf_template(settings=settings):
'$WorkDirectory /var/lib/awx/rsyslog',
f'$MaxMessageSize {max_bytes}',
'$IncludeConfig /var/lib/awx/rsyslog/conf.d/*.conf',
'$ModLoad imuxsock',
'module(load="imuxsock" SysSock.Use="off")',
'input(type="imuxsock" Socket="' + settings.LOGGING['handlers']['external_logger']['address'] + '" unlink="on")',
'template(name="awx" type="string" string="%rawmsg-after-pri%")',
])