Description
Is your feature request related to a problem? Please describe.
When the elapsed time for a query goes over some amount, there is a log for a warn. The message then only contained the query itself and again in another field a truncated version of the query.
Describe the solution you'd like
A clear "query took too long" in one of those fields would help convey what might seem like a random warn. The time was already a problem, but was known, and time was spent trying to figure out if there was another issue at play.
Describe alternatives you've considered
As its the library itself that has the logging, there is nothing I can do as long query times are not an error that can be matched on.
Additional context
version 0.7.1
postgres 15
Looks like this is the line where the logic for the log happens:
Lines 86 to 93 in 7e7dded