influxdata / influxdata/influxdb

Add option to disable query logging

Open
#20,973 0 comments 1 reaction 0 assignees View on GitHub
area/2.x area/configuration
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Proposal:__
Add option similar to `query-log-enabled` in v1.

__Current behavior:__
There's only `log-level` that can be set to `error`.

__Desired behavior:__
Have more fine-grained control.

__Alternatives considered:__
Have more `log-level`s, but I think selectively enabling / disabling logging is superior.

__Use case:__
Reducing the amount of "normal" logging to easier spot anomalies.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the current log-level configuration and the v1 `query-log-enabled` behavior, then define how selective query logging should be configured and verified. Done means the new option provides finer control than the existing error-only log level.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.