add a setting for enabling high rsyslogd verbosity

This commit is contained in:
Ryan Petrello
2020-04-23 12:04:19 -04:00
parent e7a9604896
commit e51d0b6fde
3 changed files with 13 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ def construct_rsyslog_conf_template(settings=settings):
spool_directory = '/var/lib/awx'
max_bytes = settings.MAX_EVENT_RES_DATA
if settings.LOG_AGGREGATOR_RSYSLOGD_DEBUG:
parts.append('$DebugLevel 2')
parts.extend([
'$WorkDirectory /var/lib/awx/rsyslog',
f'$MaxMessageSize {max_bytes}',