Skip to content

Conversation

MadLittleMods
Copy link
Contributor

@MadLittleMods MadLittleMods commented Sep 25, 2025

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
Copy link
Contributor

@reivilibre reivilibre left a comment

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
6 of 7 checks passed
@MadLittleMods MadLittleMods deleted the madlittlemods/no-need-to-configure-LoggingContextFilter branch September 26, 2025 14:44
@MadLittleMods
Copy link
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