From daf6ee47d2f94c9a0bc63d596f85d1e13b6520ff Mon Sep 17 00:00:00 2001 From: buzhimingyonghu <42060366+buzhimingyonghu@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:26:07 +0800 Subject: [PATCH] fix: fix log_level (#2948) * fix log_level --- src/pika_repl_bgworker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pika_repl_bgworker.cc b/src/pika_repl_bgworker.cc index 05a7915a0f..1e12ffdf0a 100644 --- a/src/pika_repl_bgworker.cc +++ b/src/pika_repl_bgworker.cc @@ -267,7 +267,7 @@ void PikaReplBgWorker::WriteDBInSyncWay(const std::shared_ptr& c_ptr) { if (duration > g_pika_conf->slowlog_slower_than()) { g_pika_server->SlowlogPushEntry(argv, start_time, duration); if (g_pika_conf->slowlog_write_errorlog()) { - LOG(ERROR) << "command: " << argv[0] << ", start_time(s): " << start_time << ", duration(us): " << duration; + LOG(INFO) << "command: " << argv[0] << ", start_time(s): " << start_time << ", duration(us): " << duration; } } }