Skip to content

Conversation

@jlrobins
Copy link

@jlrobins jlrobins commented Aug 1, 2022

Include timestamp, calling context (asynpg innards that led to this statement being executed), and statement arguments (if any) when collecting information to log to help diagnose TX bad state issues.

Also skip double-logging the same statement.

@jlrobins jlrobins merged commit 47d0e25 into more_logging_when_cannot_use_transaction Aug 1, 2022
@jlrobins jlrobins deleted the better_more_logging branch August 1, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants