Skip to content

how to use structlog to output #273

Answered by sector119
johums-best asked this question in Q&A
Discussion options

You must be logged in to vote

oops, but it works as expected if I put all that stuff at pre_execute, not pre_send method!

{"event":"Syncing payments...","taskiq_task_name":"billing:sync-payments","taskiq_task_id":"43ad252452d4491fa2c941408f9ed0b1","logger":"epsilon-tasks","level":"info","timestamp":"2024-02-19 16:00:23"}

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sector119
Comment options

Answer selected by johums-best
@s3rius
Comment options

@sector119
Comment options

@sector119
Comment options

@sector119
Comment options

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