Open xairaven opened 3 months ago
Mine solution was to mute logs from certain teloxide modules, but the solution does not work.
Code:
https://github.com/xairaven/MediaFetchBot/blob/292b9e96d273f030e018b45ae8c0771a990391a5/media_fetch_bot/src/logger.rs#L16-L19
Log example:
[2024-08-09 01:11 INFO teloxide::update_listeners::polling] retrying getting updates in 2s
Problem: There have to be DEBUG level, not INFO
DEBUG
INFO
https://github.com/daboross/fern/issues/136
1, #2 describes problems that the teloxide team does not want to solve.
Mine solution was to mute logs from certain teloxide modules, but the solution does not work.
Code:
https://github.com/xairaven/MediaFetchBot/blob/292b9e96d273f030e018b45ae8c0771a990391a5/media_fetch_bot/src/logger.rs#L16-L19
Log example:
Problem: There have to be
DEBUG
level, notINFO