- fixed a bug where php-fpm receive >stderr from php when NO log handler is set (map activity log = active, map history log = disabled)

This commit is contained in:
Mark Friedrich
2018-01-06 01:50:16 +01:00
parent 8c10645ba5
commit b771569d06

View File

@@ -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);
}
}