소스 검색

add logging

highing666 3 년 전
부모
커밋
04a7ff853a
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/api/routers/devices.py

+ 3 - 1
app/api/routers/devices.py

@@ -55,7 +55,9 @@ async def get_acatah_supply_air_temperature_set_v2(
     supply_air_temperature_set = build_acatah_supply_air_temperature_set(params)
 
     logger.info(params)
-    logger.info(supply_air_temperature_set)
+    logger.info(
+        f"{params.device_id}: supply_air_temperature_set - {supply_air_temperature_set}"
+    )
 
     resp = {"supply_air_temperature_set": supply_air_temperature_set}