summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Petrello <rpetrell@redhat.com>2020-04-17 20:25:22 +0200
committerRyan Petrello <rpetrell@redhat.com>2020-04-17 20:34:07 +0200
commitf159a6508e260d19a5805b17a7bd8cc2a578b1fd (patch)
tree9da471f4c5a0e824c7afed16e85653865671f3f3
parentMerge pull request #6738 from squidboylan/fix_collection_sanity_ansible2.9 (diff)
downloadawx-f159a6508e260d19a5805b17a7bd8cc2a578b1fd.tar.xz
awx-f159a6508e260d19a5805b17a7bd8cc2a578b1fd.zip
rsyslogd: set some higher limits for disk-assisted queues
-rw-r--r--awx/main/utils/external_logging.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/awx/main/utils/external_logging.py b/awx/main/utils/external_logging.py
index 20f52c188d..a1c002c374 100644
--- a/awx/main/utils/external_logging.py
+++ b/awx/main/utils/external_logging.py
@@ -18,6 +18,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',
+ '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")',
'input(type="imuxsock" Socket="' + settings.LOGGING['handlers']['external_logger']['address'] + '" unlink="on")',
'template(name="awx" type="string" string="%rawmsg-after-pri%")',