Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Litarnus
Copy link
Contributor

This PR adds sentry.origin to the log attributes in the Monolog handler as defined here: https://develop.sentry.dev/sdk/telemetry/logs/#sdk-integration-attributes

When using \Sentry\logger()->info(..), it will not have this attribute since the attribute should only be added for integrations.

This will also add the attributes in symfony because it's using this handler

@Litarnus Litarnus self-assigned this Sep 22, 2025
@Litarnus Litarnus marked this pull request as ready for review September 22, 2025 11:02
cursor[bot]

This comment was marked as outdated.

@Litarnus Litarnus merged commit 115d1fc into master Sep 22, 2025
39 checks passed
@Litarnus Litarnus deleted the martinl/sentry-origin branch September 22, 2025 13:19
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