mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 05:00:07 -03:30
Merge pull request #6737 from ryanpetrello/da-queues
rsyslogd: set some reasonable limits for disk queues Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -18,6 +18,7 @@ def construct_rsyslog_conf_template(settings=settings):
|
|||||||
'$WorkDirectory /var/lib/awx/rsyslog',
|
'$WorkDirectory /var/lib/awx/rsyslog',
|
||||||
f'$MaxMessageSize {max_bytes}',
|
f'$MaxMessageSize {max_bytes}',
|
||||||
'$IncludeConfig /var/lib/awx/rsyslog/conf.d/*.conf',
|
'$IncludeConfig /var/lib/awx/rsyslog/conf.d/*.conf',
|
||||||
|
'main_queue(queue.spoolDirectory="/var/lib/awx" queue.maxdiskspace="1g" queue.type="Disk" queue.filename="awx-external-logger-backlog")',
|
||||||
'module(load="imuxsock" SysSock.Use="off")',
|
'module(load="imuxsock" SysSock.Use="off")',
|
||||||
'input(type="imuxsock" Socket="' + settings.LOGGING['handlers']['external_logger']['address'] + '" unlink="on")',
|
'input(type="imuxsock" Socket="' + settings.LOGGING['handlers']['external_logger']['address'] + '" unlink="on")',
|
||||||
'template(name="awx" type="string" string="%rawmsg-after-pri%")',
|
'template(name="awx" type="string" string="%rawmsg-after-pri%")',
|
||||||
|
|||||||
Reference in New Issue
Block a user