From ccf54197ebc89977ac7953115792ee97a4213671 Mon Sep 17 00:00:00 2001 From: samson0v Date: Thu, 2 May 2024 14:41:25 +0300 Subject: [PATCH] Fixed sending remote logging level --- .../tb_utility/tb_gateway_remote_configurator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py b/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py index 6250384db..c326084cb 100644 --- a/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py +++ b/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py @@ -40,7 +40,6 @@ def __init__(self, gateway, config): self.in_process = False self._active_connectors = [] self._handlers = { - 'general_configuration': self._handle_general_configuration_update, 'storage_configuration': self._handle_storage_configuration_update, 'grpc_configuration': self._handle_grpc_configuration_update, 'logs_configuration': self._handle_logs_configuration_update, @@ -193,6 +192,10 @@ def process_config_request(self, config): self.in_process = True + if 'general_configuration' in config.keys(): + self._handle_general_configuration_update(config['general_configuration']) + config.pop('general_configuration', None) + try: for attr_name in config.keys(): if 'deleted' in attr_name: