QuesmaOrg / quesma

Programmable database gateway
https://quesma.com
Other
108 stars 6 forks source link

Disable logging of SQL queries #981

Closed nablaone closed 1 week ago

nablaone commented 1 week ago

Logging every SQL query that is executed or transformer has some performance penalty. This PR adds a flag to enable it. We should not log queries by default.

Tracing can be enabled via conf:

logging:
  enableSQLTracing: true
cloudflare-workers-and-pages[bot] commented 1 week ago

Deploying quesma with  Cloudflare Pages  Cloudflare Pages

Latest commit: b757188
Status: ✅  Deploy successful!
Preview URL: https://6be65d80.quesma.pages.dev
Branch Preview URL: https://pr-disable-sql-tracing.quesma.pages.dev

View logs

pdelewski commented 1 week ago

LGTM