Skip to content

Commit

Permalink
fix INFO
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Jan 14, 2025
1 parent 4842bc2 commit 242b1c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/replica/replica_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ void replica_stub::load_replica(dir_node *disk_node,
//
// TODO(wangdan): support decimal milliseconds or microseconds, since loading a small
// replica tends to spend less than 1 milliseconds and show "0ms" in logging.
SCOPED_LOG_TIMING(INFO, "on loading replica dir {}:{}", disk_node->tag, replica_dir);
SCOPED_LOG_TIMING(info, "on loading replica dir {}:{}", disk_node->tag, replica_dir);

LOG_INFO("loading replica: replica_dir={}:{}", disk_node->tag, replica_dir);

Expand Down Expand Up @@ -596,7 +596,7 @@ void replica_stub::load_replicas(replica_map_by_gpid &reps)
//
// TODO(wangdan): show both the size of output replicas and execution time on just one
// logging line.
SCOPED_LOG_TIMING(INFO, "on loading replicas");
SCOPED_LOG_TIMING(info, "on loading replicas");

const auto &disks = get_all_disk_dirs();

Expand Down

0 comments on commit 242b1c1

Please sign in to comment.