Enhance logging capabilities#348
Merged
Merged
Conversation
- Add more information in the logging premable. - Add logging of sources for env vars and the final effective values. - Introduce `BootstrapLogger` for detailed logging before main logger initialization, supporting automatic disposal after inactivity. This is potentially useful for support scenarios but is marked as experimental. - Refactor various classes to log public method invocations and configuration values to the bootstrap logger. - Add `StackTraceLoggerExtensions` for caller info logging and `LoadedAssemblyLogHelper` for assembly logging.
5545d77 to
d04d7f8
Compare
This was referenced Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following changes were introduced to improve the diagnostics logs to make it easier for customers to diagnose issues and gain support with EDOT .NET. We capture more information which is useful for us when investigating support cases.
BootstrapLoggerfor detailed logging before main logger initialization, supporting automatic disposal after inactivity. This is potentially useful for support scenarios but is marked as experimental.StackTraceLoggerExtensionsfor caller info logging andLoadedAssemblyLogHelperfor assembly logging.Closes #302
Fixes #309