Skip to content

feat: add handler to convert logs to sentry issues#2075

Merged
Litarnus merged 2 commits into
masterfrom
log-to-issue-handler
Apr 29, 2026
Merged

feat: add handler to convert logs to sentry issues#2075
Litarnus merged 2 commits into
masterfrom
log-to-issue-handler

Conversation

@Litarnus
Copy link
Copy Markdown
Contributor

Adds a monolog handler to convert log messages with a configurable severity to Sentry Issues. This acts as a partial replacement for the deprecated Monolog\Handler in an effort to split responsibilities properly.

Comment thread src/Monolog/LogToSentryIssueHandler.php Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 54d8ff2. Configure here.

Comment thread src/Monolog/LogToSentryIssueHandler.php
Copy link
Copy Markdown
Collaborator

@stayallive stayallive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

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.

Add handler to capture log lines and send them to Sentry as Issues

2 participants