mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Merge pull request #6211 from jangsutsr/6188_handle_500_error_with_toggling_log_aggregator_enable
Handle 500 error with toggling log aggregator enable
This commit is contained in:
commit
f18b7f2f19
@ -25,7 +25,7 @@ class LogstashFormatter(LogstashFormatterVersion1):
|
||||
self.host_id = settings_module.CLUSTER_HOST_ID
|
||||
if hasattr(settings_module, 'LOG_AGGREGATOR_TOWER_UUID'):
|
||||
self.tower_uuid = settings_module.LOG_AGGREGATOR_TOWER_UUID
|
||||
self.message_type = settings_module.LOG_AGGREGATOR_TYPE
|
||||
self.message_type = getattr(settings_module, 'LOG_AGGREGATOR_TYPE', 'other')
|
||||
return ret
|
||||
|
||||
def reformat_data_for_log(self, raw_data, kind=None):
|
||||
|
Loading…
Reference in New Issue
Block a user