diff --git a/module/VuFind/src/VuFind/Log/Logger.php b/module/VuFind/src/VuFind/Log/Logger.php index 7ae2ea04c3151439bce0602c20b0492586df198d..e4fad47c0b812d4b8a5027a7e6f7f2d54090feb5 100644 --- a/module/VuFind/src/VuFind/Log/Logger.php +++ b/module/VuFind/src/VuFind/Log/Logger.php @@ -128,9 +128,9 @@ class Logger extends BaseLogger implements ServiceLocatorAwareInterface $this->addWriters($writer, $filters); } - // Null writer to avoid errors + // Null (no-op) writer to avoid errors if (count($this->writers) == 0) { - $nullWriter = 'Zend\Log\Writer\Null'; + $nullWriter = 'Zend\Log\Writer\Noop'; $this->addWriter(new $nullWriter()); } }