Closed
Description
Hello 👋
At Thanos, we have noticed that the LogQueriesLongerThan
does not behave as is described in the docs:
Log queries that are slower than the specified duration. Set to 0 to disable. Set to < 0 to enable on all queries.
In particular, setting the parameter to < 0 does not make it to log all queries, it actually disables logging (quick glance at the code seem to confirm this).
What is the correct way to handle this? Should the functionality be adjusted to adhere to the docs or should the docs be amended to describe current behavior?
Metadata
Metadata
Assignees
Labels
No labels