default HTTP-based log emits to HTTPS

see: https://github.com/ansible/awx/issues/2048
This commit is contained in:
Ryan Petrello
2018-07-09 11:28:00 -04:00
parent 6a610d633f
commit 6bd9792518
4 changed files with 32 additions and 24 deletions

View File

@@ -473,10 +473,12 @@ register(
register(
'LOG_AGGREGATOR_PROTOCOL',
field_class=fields.ChoiceField,
choices=[('https', 'HTTPS'), ('tcp', 'TCP'), ('udp', 'UDP')],
choices=[('https', 'HTTPS/HTTP'), ('tcp', 'TCP'), ('udp', 'UDP')],
default='https',
label=_('Logging Aggregator Protocol'),
help_text=_('Protocol used to communicate with log aggregator.'),
help_text=_('Protocol used to communicate with log aggregator. '
'HTTPS/HTTP assumes HTTPS unless http:// is explicitly used in '
'the Logging Aggregator hostname.'),
category=_('Logging'),
category_slug='logging',
)