jackc / jackc/pgx

Allow custom log level for Query logs

Open
#1,432 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
14.3k
Forks
1.1k
Avg merge
6d 9h
Merged PRs (30d)
11

Description

**Is your feature request related to a problem? Please describe.**
I'd like to be able to downgrade the Query logs to the Debug or Trace level instead of the Info level.

**Describe the solution you'd like**
I don't know, maybe a package tracelog.QueryLogLevel variable ?

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

Contributor guide

Open the contributing guide

Research direction

The issue concerns Query logs and requests a configurable QueryLogLevel. Start by locating the Query-log entry point and reviewing any existing logging configuration or related tests. Done means callers can choose the requested log level without changing unrelated logging behavior, with coverage for the new configuration.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.