diff --git a/app/main/lib/logging/AbstractLog.php b/app/main/lib/logging/AbstractLog.php index 2a84fc8d..c7a842ff 100644 --- a/app/main/lib/logging/AbstractLog.php +++ b/app/main/lib/logging/AbstractLog.php @@ -545,7 +545,10 @@ abstract class AbstractLog implements LogInterface { * send this Log to global log buffer storage */ public function buffer(){ - Monolog::instance()->push($this); + // at least one handler is required for a valid log + if( !empty($this->handlerParamsConfig)) { + Monolog::instance()->push($this); + } }