Skip to content

Rule based logging of Queries based on conditions - #464

Draft
kofrezo wants to merge 4 commits into
mainfrom
dk_conditional_query_log
Draft

kofrezo wants to merge 4 commits into
mainfrom
dk_conditional_query_log

Conversation

@kofrezo

@kofrezo kofrezo commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

This change allows to define rules with that contain one or more conditions to log some queries.

If, for example, one wants to log all queries of an application that query attribute X one can do so now.

@kofrezo kofrezo self-assigned this Sep 4, 2026
@kofrezo
kofrezo force-pushed the dk_conditional_query_log branch 3 times, most recently from c823cb4 to d1c3fc5 Compare September 11, 2026 08:57
Introduce a new Django app that allows to create rules for selective
logging of queries for debugging and monitoring purpose.
Allow to specify a query so that only queries get logged that match the
same query for more selective debugging.
Allow even more control by logging only queries that have requested
certain attributes. Useful if you want to see what queries request
certain attribute because for example you plan to remove them.
@kofrezo
kofrezo force-pushed the dk_conditional_query_log branch from d1c3fc5 to 66d4d66 Compare September 11, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant