Skip to content

Commit

Permalink
fix: fix log_level (#2948)
Browse files Browse the repository at this point in the history
* fix log_level
  • Loading branch information
buzhimingyonghu authored and brother-jin committed Dec 27, 2024
1 parent 5e5cbc0 commit ba78b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika_repl_bgworker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void PikaReplBgWorker::WriteDBInSyncWay(const std::shared_ptr<Cmd>& 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;
}
}
}
Expand Down

0 comments on commit ba78b6d

Please sign in to comment.