Merge pull request #73 from jangsutsr/6986_make_up_default_values_for_tower_config

Make up default values for tower configurations
This commit is contained in:
Aaron Tan
2017-08-01 20:33:41 -04:00
committed by GitHub
4 changed files with 25 additions and 1 deletions

View File

@@ -332,6 +332,7 @@ register(
'LOG_AGGREGATOR_HOST',
field_class=fields.CharField,
allow_null=True,
default=None,
label=_('Logging Aggregator'),
help_text=_('Hostname/IP where external logs will be sent to.'),
category=_('Logging'),
@@ -341,6 +342,7 @@ register(
'LOG_AGGREGATOR_PORT',
field_class=fields.IntegerField,
allow_null=True,
default=None,
label=_('Logging Aggregator Port'),
help_text=_('Port on Logging Aggregator to send logs to (if required and not'
' provided in Logging Aggregator).'),
@@ -353,6 +355,7 @@ register(
field_class=fields.ChoiceField,
choices=['logstash', 'splunk', 'loggly', 'sumologic', 'other'],
allow_null=True,
default=None,
label=_('Logging Aggregator Type'),
help_text=_('Format messages for the chosen log aggregator.'),
category=_('Logging'),