Active
Project:
Drupal core
Version:
main
Component:
dblog.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2023 at 17:56 UTC
Updated:
6 Oct 2023 at 17:56 UTC
Jump to comment: Most recent
Follow up from #2828706: ExceptionLoggingSubscriber should not log HTTP 4XX errors using PHP logger channel From @chi
+ 502 => 'php',
I know this issue is specifically about 4xx errors, but i'd like to point that 5xx errors shouldn't be always logged in PHP channel. For example I have a project where Drupal serves as a gateway to another site. So when the upstream site fails Drupal returns 502 exception. That's part of normal workflow and has nothing to do with PHP.
I think PHP channel should only be used for exceptions that got 500 status code in FinalExceptionSubscriber. That might need a separate issue.
TBD
TBD
Determine if we don't want to log 5xx
TBD
TBD
TBD
TBD
Comments