- π«π·France prudloff Lille
How can I test this? It seems the registered logger is actually never used because
ErrorHandler::handleException()
andErrorHandler::handleError()
are never called (probably because Drupal's error handler catches the error first then provides it toKernelEventSubscriber::onException()
).And I tried installing the monolog module and I can see the exceptions and PHP errors logged by monolog even without this patch.
- π«π·France prudloff Lille
OK now I get why this is useful.
Without it,trigger_error('foo', E_USER_ERROR);
is logged buttrigger_error('foo', E_USER_DEPRECATED);
is not.
With the patch, they are both logged. - Status changed to Fixed
10 months ago 2:18pm 12 February 2024 -
prudloff β
committed cc7a2139 on 2.x authored by
bradjones1 β
Issue #3260052 by bradjones1: Use default php logger channel
-
prudloff β
committed cc7a2139 on 2.x authored by
bradjones1 β
Automatically closed - issue fixed for 2 weeks with no activity.