You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The SetDefaultAttributes call in CaptureLog overwrites user-set attributes from the configureLog callback #5351
.NETPull requests that update .net codeBreaking ChangeBinary/Source/Behavioral Breaking Changes.FeatureNew feature or requestLogsNext MajorChanges scheduled for the next Major release.
This is not a new problem, but existing behavior, that we now add more default attributes that potentially overwrite user-defined attributes. Previously, we would overwrite
sentry.environment
sentry.release
sentry.sdk.name
sentry.sdk.version
We could open a follow-up to change this behavior.
This is technically a change in behavior, so we might want to do this in the next major (v7.0.0).
But we probably do want to do this, because with Metrics we did get it right where user-attributes might overwrite default-attributes.
Not sure yet if bug fix (patch) or breaking change (major).
In Metrics, we got the precedence right (first apply SDK default attributes, then apply user-defined attributes).
.NETPull requests that update .net codeBreaking ChangeBinary/Source/Behavioral Breaking Changes.FeatureNew feature or requestLogsNext MajorChanges scheduled for the next Major release.
Activity
linear-code commentedon Jul 6, 2026
NET-728
Flash0ver commentedon Jul 7, 2026
Not sure yet if bug fix (patch) or breaking change (major).
In Metrics, we got the precedence right (first apply SDK default attributes, then apply user-defined attributes).