dolthub / dolthub/dolt

Configure `max_logged_query_len` using a session variable

Open
#9,057 0 comments 0 reactions 0 assignees View on GitHub
customer issue enhancement sql server
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

It would be useful to change the max logged query length at runtime without restarting the server. We currently provide this facility with the `@@dolt_log_level` system variable for log level. We coud do the same with a `@@dolt_max_logged_query_len` variable.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the existing @@dolt_log_level session variable is defined and how the current maximum logged query length is read. Confirm the variable's runtime scope and identify the tests covering session variables and query logging. Done means @@dolt_max_logged_query_len changes the logging limit without restarting the server.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.