SIENTIAPDE-1325

Update OPC connection logging to include server name in connection message
This commit is contained in:
vitor-aignosi
2025-11-07 09:26:03 -03:00
parent d2f73658c9
commit fe82e52f70

View File

@@ -143,7 +143,7 @@ class OpcRepository(SientiaMonitoring):
if self.cert_path:
await self.set_security()
self.logger.custom_info(f'Starting connection to OPC server {self.id}...', self.metadata)
self.logger.custom_info(f'Starting connection to OPC server {self.id}:{self.server_name}...', self.metadata)
return await self.try_connect()
async def try_connect(self) -> tuple[bool, dict[str, Any]]: