SIENTIAPDE-1110
Enhance logging in OPC activity by adding debug statements for output configuration and server details to improve traceability.
This commit is contained in:
@@ -98,6 +98,8 @@ class OPC(BaseActivity):
|
|||||||
|
|
||||||
success = True
|
success = True
|
||||||
|
|
||||||
|
self.logger.debug(f"OPC output config: {opc_output_config}")
|
||||||
|
self.logger.debug(f"OPC servers: {self.opc_repository}")
|
||||||
for server_id, config in opc_output_config.items():
|
for server_id, config in opc_output_config.items():
|
||||||
if self.opc_repository.get(server_id) is None:
|
if self.opc_repository.get(server_id) is None:
|
||||||
self.error(f"OPC server {server_id} not found", metadata)
|
self.error(f"OPC server {server_id} not found", metadata)
|
||||||
|
|||||||
Reference in New Issue
Block a user