Skip to content

fix: prevent logger hijacking by imported packages - #1229

Merged
jranson merged 1 commit into
trickstercache:mainfrom
jranson:jr/logging-init
Nov 17, 2026
Merged

jranson merged 1 commit into
trickstercache:mainfrom
jranson:jr/logging-init

Conversation

@jranson

@jranson jranson commented Nov 17, 2026

Copy link
Copy Markdown
Member

Description

This fixes a minor correctness defect where imported packages (in our case, Vitess via their init()) can hijack events going to the stdlib logger, causing log events to be handled by imported package's logging library and output in their format instead of Trickster's.

Type of Change

    • Bug fix
    • New feature
    • Optimization
    • Test coverage
    • Documentation
    • Infrastructure

AI Disclosure

    • This contribution DOES NOT include AI-generated changes
    • This contribution DOES include AI-generated changes, and I have reviewed the relevant contributing guidelines.

Signed-off-by: James Ranson <james@ranson.org>
@jranson
jranson requested a review from a team as a code owner November 17, 2026 17:37
@jranson
jranson merged commit 66866eb into trickstercache:main Nov 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants