SIENTIAPDE-1325

Update logging in MLFlowRepository and OpcRepository to use unified logging methods

- Refactored logging calls in MLFlowRepository to replace `self.logger.info` and `self.logger.debug` with `self.info` and `self.debug` for consistency.
- Updated connection logging in OpcRepository to format the connection message properly.
- Adjusted test cases to reflect changes in logging behavior and ensure proper assertions.
This commit is contained in:
vitor-aignosi
2025-11-10 09:40:12 -03:00
parent 03dc0978b8
commit 0de30d85a8
8 changed files with 72 additions and 72 deletions

View File

@@ -105,7 +105,9 @@ class OPC(SientiaMonitoring):
attachment_content=error_data.get('attachment_content', None),
)
else:
self.logger.info(f'OPC server {opc_id}:{server["server_name"]} connected successfully.')
self.logger.info(
f'OPC server {opc_id}:{server["server_name"]} connected successfully.'
)
async def write_data(
self,