feat: reduce log verbosity by changing info logs to debug

Changed logging level from INFO to DEBUG for performance-related messages in model management service. This reduces noise in production logs while maintaining debugging capability for performance analysis.
This commit is contained in:
Will Miao
2025-12-31 16:14:24 +08:00
parent 102defe29c
commit afa5533145
4 changed files with 4 additions and 4 deletions

View File

@@ -258,7 +258,7 @@ class ModelCache:
duration = time.perf_counter() - start_time
if duration > 0.05:
logger.info("ModelCache._sort_data(%s, %s) for %d items took %.3fs", sort_key, order, len(data), duration)
logger.debug("ModelCache._sort_data(%s, %s) for %d items took %.3fs", sort_key, order, len(data), duration)
return result
async def get_sorted_data(self, sort_key: str = 'name', order: str = 'asc') -> List[Dict]: