-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
Problem Statement
The current implementation uses the converted Sentry\Logs\LogLevel in Sentry\Monolog::isHandling.
This removes the possibility to differentiate between some log levels, like INFO and NOTICE. They get merged to LogLevel::Info. This makes it impossible to only send Notice-Logs to Sentry.
It's also very confusing to suddenly see INFO logs in Sentry after configuring NOTICE.
It also affects CRITICAL, ALERT and EMERGENCY.
Solution Brainstorm
The method Sentry\Monolog::isHandling should check against the Monolog level, instead of the Sentry level to decide if a log entry gets processed.
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner