Skip to content

fix: Fix bug that caused 'logging' block's 'write_to' to be used after config update even if not set#6264

Merged
ptodev merged 1 commit into
mainfrom
ptodev/write-to-update
May 18, 2026
Merged

fix: Fix bug that caused 'logging' block's 'write_to' to be used after config update even if not set#6264
ptodev merged 1 commit into
mainfrom
ptodev/write-to-update

Conversation

@ptodev
Copy link
Copy Markdown
Contributor

@ptodev ptodev commented May 15, 2026

If you use a config like this...

logging{
  write_to = [loki.write.grafana_cloud.receiver]
}

...and then remove the write to, and reload the config...

logging{}

... the write_to is still taking effect even though it's supposed to be disabled.

@ptodev ptodev requested a review from a team as a code owner May 15, 2026 14:35
@ptodev ptodev requested a review from kalleep May 15, 2026 15:15
@ptodev ptodev merged commit cba7243 into main May 18, 2026
54 checks passed
@ptodev ptodev deleted the ptodev/write-to-update branch May 18, 2026 09:24
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