[GH-ISSUE #1331] New Sentry handler #555

Closed
opened 2026-03-04 02:15:56 +03:00 by kerem · 3 comments
Owner

Originally created by @jlemesh on GitHub (Jun 12, 2019).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1331

Package raven/raven is deprecated, it is suggested to use sentry/sentry (docs). Maybe it's a good idea to create new Sentry handler?

Originally created by @jlemesh on GitHub (Jun 12, 2019). Original GitHub issue: https://github.com/Seldaek/monolog/issues/1331 Package [raven/raven](https://packagist.org/packages/raven/raven) is deprecated, it is suggested to use [sentry/sentry](https://packagist.org/packages/sentry/sentry) ([docs](https://docs.sentry.io/clients/php/integrations/)). Maybe it's a good idea to create new Sentry handler?
kerem closed this issue 2026-03-04 02:15:56 +03:00
Author
Owner

@hkdobrev commented on GitHub (Jun 12, 2019):

See #1273. The handler is now ready and released inside the Sentry PHP SDK 2.1.0: https://github.com/getsentry/sentry-php/pull/808

Here's how to use it: https://docs.sentry.io/clients/php/integrations/#monolog

<!-- gh-comment-id:501240603 --> @hkdobrev commented on GitHub (Jun 12, 2019): See #1273. The handler is now ready and released inside the Sentry PHP SDK 2.1.0: https://github.com/getsentry/sentry-php/pull/808 Here's how to use it: https://docs.sentry.io/clients/php/integrations/#monolog
Author
Owner

@jlemesh commented on GitHub (Jun 12, 2019):

Thanks for the link!

P. S. The docs are for raven.

<!-- gh-comment-id:501262257 --> @jlemesh commented on GitHub (Jun 12, 2019): Thanks for the link! P. S. The docs are for raven.
Author
Owner

@hkdobrev commented on GitHub (Jun 12, 2019):

Hmm, right. It seems they still don't have docs for the new Monolog handler in the docs of the new Sentry PHP SDK. This handler has been released in a stable release less than a month ago: https://github.com/getsentry/sentry-php/releases/tag/2.1.0

You could probably an issue with Sentry to document it.

I think the Monolog docs could also link to the new Sentry handler instead of just providing the old one and leaving users clueless.

<!-- gh-comment-id:501280780 --> @hkdobrev commented on GitHub (Jun 12, 2019): Hmm, right. It seems they still don't have docs for the new Monolog handler in the docs of the new Sentry PHP SDK. This handler has been released in a stable release less than a month ago: https://github.com/getsentry/sentry-php/releases/tag/2.1.0 You could probably an issue with Sentry to document it. I think the Monolog docs could also link to the new Sentry handler instead of just providing the old one and leaving users clueless.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#555
No description provided.