Skip to content

How to use a logger in an asyncio background task #9654

Closed Answered by ElieTaillard
ElieTaillard asked this question in Q&A
Discussion options

You must be logged in to vote

By following this guide, I realized that I could disable the log configuration.
By using the run function like this : client.run(token, log_handler=None), the logs no longer seem to be duplicated. My problem is now solved, but I appreciate your efforts to provide me with a solution

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ElieTaillard
Comment options

@LostLuma
Comment options

@Motzumoto
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ElieTaillard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants