diff options
| author | 2022-01-25 12:15:50 +0300 | |
|---|---|---|
| committer | 2022-01-26 03:39:23 +0000 | |
| commit | 335620341046e3b7be547ac9f18d25d1fb9bec55 (patch) | |
| tree | 394dcf6be9e7bbe69302e1b4b2d54174c9adf29f /bot/exts | |
| parent | Clean Up Constants File (diff) | |
Reduce AOC Logging Output
The AOC cog produces a lot of large logs very frequently which have
minimal value, causing the logs to be significantly harder to navigate.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/events/advent_of_code/_helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/events/advent_of_code/_helpers.py b/bot/exts/events/advent_of_code/_helpers.py index 15b1329d..6c004901 100644 --- a/bot/exts/events/advent_of_code/_helpers.py +++ b/bot/exts/events/advent_of_code/_helpers.py @@ -255,7 +255,7 @@ async def _fetch_leaderboard_data() -> dict[str, Any]: # Two attempts, one with the original session cookie and one with the fallback session for attempt in range(1, 3): - log.info(f"Attempting to fetch leaderboard `{leaderboard.id}` ({attempt}/2)") + log.debug(f"Attempting to fetch leaderboard `{leaderboard.id}` ({attempt}/2)") cookies = {"session": leaderboard.session} try: raw_data = await _leaderboard_request(leaderboard_url, leaderboard.id, cookies) |