Commit cd999713 by 王召彬

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

parent c79997dd
......@@ -38,8 +38,15 @@ class LogHandler extends AbstractProcessingHandler
}
$lines = array_column($records, 'formatted');
foreach($lines as $k => $v) {
if(strpos($v, '验证器不存在') !== false) {
unset($lines[$k]);
}
}
if($lines) {
$this->write($lines);
}
}
/**
* 输出到腾讯云CLS
......
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