Skip to content

Move some logging code from MSSQL to generic SQL engine#2729

Merged
evansd merged 4 commits intomainfrom
evansd/refactor-logging
Apr 2, 2026
Merged

Move some logging code from MSSQL to generic SQL engine#2729
evansd merged 4 commits intomainfrom
evansd/refactor-logging

Conversation

@evansd
Copy link
Copy Markdown
Contributor

@evansd evansd commented Mar 27, 2026

This means that we get logging of the executed SQL and basic query timing for all SQL-based query engines, rather than just for MSSQL.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 27, 2026

Deploying databuilder-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8757ad5
Status: ✅  Deploy successful!
Preview URL: https://f63a6e58.databuilder.pages.dev
Branch Preview URL: https://evansd-refactor-logging.databuilder.pages.dev

View logs

evansd added 4 commits April 2, 2026 12:58
This moves the logging code into the base SQL engine so that all SQL
query engines benefit from it, not just the MSSQL one.
We also need to continue to support the old format so that we can parse
historical logs.
@evansd evansd force-pushed the evansd/refactor-logging branch from 1fbbae4 to 8757ad5 Compare April 2, 2026 11:58
@evansd evansd enabled auto-merge April 2, 2026 11:59
@evansd evansd merged commit 7b911f3 into main Apr 2, 2026
10 checks passed
@evansd evansd deleted the evansd/refactor-logging branch April 2, 2026 12:15
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