- 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user