Commit cd999713 by 王召彬

Cls记日志忽略’验证器不存在‘

parent c79997dd
......@@ -38,7 +38,14 @@ class LogHandler extends AbstractProcessingHandler
}
$lines = array_column($records, 'formatted');
$this->write($lines);
foreach($lines as $k => $v) {
if(strpos($v, '验证器不存在') !== false) {
unset($lines[$k]);
}
}
if($lines) {
$this->write($lines);
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment