HTTP logger overrides kwargs with settings

This commit is contained in:
AlanCoding
2016-11-29 16:26:16 -05:00
parent 9cecb7d870
commit 37ef4e8bc8
2 changed files with 56 additions and 23 deletions

View File

@@ -251,8 +251,25 @@ register(
register(
'LOG_AGGREGATOR_USERNAME',
field_class=fields.CharField,
label=_('Logging Aggregator Receiver Username'),
help_text=_('Username for Logstash or others'),
label=_('Logging Aggregator Username to Authenticate With'),
help_text=_('Username for Logstash or others (basic auth)'),
category=_('Logging'),
category_slug='logging',
)
register(
'LOG_AGGREGATOR_PASSWORD',
field_class=fields.CharField,
label=_('Logging Aggregator Password to Authenticate With'),
help_text=_('Password for Logstash or others (basic auth)'),
category=_('Logging'),
category_slug='logging',
)
register(
'LOG_AGGREGATOR_LOGGERS',
field_class=fields.StringListField,
default=['awx', 'activity_stream', 'job_events', 'packages', 'services', 'ansible'],
label=_(''),
help_text=_(''),
category=_('Logging'),
category_slug='logging',
)