Skip to content

No need to configure the LoggingContextFilter#1410

Merged
MadLittleMods merged 1 commit into
developfrom
madlittlemods/no-need-to-configure-LoggingContextFilter
Sep 26, 2025
Merged

No need to configure the LoggingContextFilter#1410
MadLittleMods merged 1 commit into
developfrom
madlittlemods/no-need-to-configure-LoggingContextFilter

Conversation

@MadLittleMods

@MadLittleMods MadLittleMods commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

No need to configure the LoggingContextFilter

This hasn't been necessary for 5 years since matrix-org/synapse#8051 because we automatically configure this for you within Synapse itself.

Spawning from seeing this fail after we tried to change the LoggingContextFilter constructor in element-hq/synapse#18868 (comment). Although this served as a decent canary of what people may have historically configured, I've now added the relevant context to that part of the code as part of element-hq/synapse#18868

This hasn't been necessary for 5 years since
matrix-org/synapse#8051

@reivilibre reivilibre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks; of course I admit my local dev setup recently had massively borked logcontexts because of manually configuring this and doing it wrong.

@MadLittleMods MadLittleMods merged commit 989e5e0 into develop Sep 26, 2025
@MadLittleMods MadLittleMods deleted the madlittlemods/no-need-to-configure-LoggingContextFilter branch September 26, 2025 14:44
@MadLittleMods

Copy link
Copy Markdown
Contributor Author

Thanks for the review @reivilibre 🐩

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