Skip to content

Commit 08986ac

Browse files
authored
Change log level from info to debug for requests
1 parent 5fc02be commit 08986ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cybernotify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def fetch_live_data(session_id: str, tz: ZoneInfo) -> list[dict]:
123123
"Session_ID": session_id,
124124
"LastUpdate": (datetime.now() - timedelta(seconds=3603)).strftime("%Y-%m-%d %H:%M:%S"),
125125
}
126-
log.info("Calling %s/LiveData/Select with params: %s", BASE_URL, params)
126+
log.debug("Calling %s/LiveData/Select with params: %s", BASE_URL, params)
127127

128128
resp = requests.get(
129129
f"{BASE_URL}/LiveData/Select",
@@ -200,7 +200,7 @@ def main() -> None:
200200

201201
# Poll live data
202202
positions = fetch_live_data(session_id, cfg["timezone"])
203-
log.info("fetch_live_data returned %d position(s): %s", len(positions), positions)
203+
log.debug("fetch_live_data returned %d position(s): %s", len(positions), positions)
204204

205205
# Find our tracker
206206
for pos in positions:

0 commit comments

Comments
 (0)