Commit 0680706c by 王召彬

Merge branch 'fixbug-clslog'

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