diff --git a/src/Logging/LoggingTrait.php b/src/Logging/LoggingTrait.php index 7d4460eeb..b0860e9e4 100644 --- a/src/Logging/LoggingTrait.php +++ b/src/Logging/LoggingTrait.php @@ -88,7 +88,7 @@ private function logResponse(LogEvent $event): void $this->logger->debug($stringifiedEvent); } - if ($event->status) { + if (!is_null($event->status)) { $infoEvent = [ 'timestamp' => $event->timestamp, 'severity' => LogLevel::INFO,