dolthub / dolthub/dolt

Log queries in "error running query" WARN log message

Open
#8,074 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

Currently, Dolt sql-server logs include all the queries being executed only when logging is configured at the `DEBUG` level – queries are not included in the logs at the default logging level. This is important to keep the logs from growing too quickly, but can make it difficult for customers to find a query that isn't executing in Dolt correctly. When we log an "error running query" warning, if we included the query (or the first ~150 characters or so) it would make it easier for customers to identify queries that aren't executing correctly and either report them (if it's a MySQL compatibility issue) or fix them (if it's an issue with their application forming bad queries).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.