提交 c8b9fa0e 编写于 作者: K KernelMaker

bugfix: put slowlog of binlog_bgworker into ERROR log

上级 c1178400
......@@ -78,7 +78,7 @@ void BinlogBGWorker::DoBinlogBG(void* arg) {
if (g_pika_conf->slowlog_slower_than() >= 0) {
int64_t duration = slash::NowMicros() - start_us;
if (duration > g_pika_conf->slowlog_slower_than()) {
LOG(WARNING) << "command:" << opt << ", start_time(s): " << start_us / 1000000 << ", duration(us): " << duration;
LOG(ERROR) << "command:" << opt << ", start_time(s): " << start_us / 1000000 << ", duration(us): " << duration;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册