Skip to content

Fixed logger for connections inside EventTracingConnectionLifetime#3996

Merged
jeremydmiller merged 1 commit intoJasperFx:masterfrom
JTeeuwissen:EventTracingConnectionLifetimeLogger
Nov 5, 2025
Merged

Fixed logger for connections inside EventTracingConnectionLifetime#3996
jeremydmiller merged 1 commit intoJasperFx:masterfrom
JTeeuwissen:EventTracingConnectionLifetimeLogger

Conversation

@JTeeuwissen
Copy link
Contributor

@JTeeuwissen JTeeuwissen commented Nov 4, 2025

Currently, the EventTracingConnectionLifetime has it's own IMartenSessionLogger Logger property, which is set in it's constructor. This however, does not set the logger of the InnerConnectionLifetime. Which causes logs to be written to the default NulloLogger. This PR replaces the Logger property from EventTracingConnectionLifetime with a proxy for the Logger property from InnerConnectionLifetime.

@jeremydmiller
Copy link
Member

Nice catch!

@jeremydmiller jeremydmiller merged commit fd614cd into JasperFx:master Nov 5, 2025
2 of 3 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