This is an automated email from the ASF dual-hosted git repository.

aleksraiden pushed a commit to branch aleksraiden-gloginit-reorder
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/aleksraiden-gloginit-reorder 
by this push:
     new e2fb7652 Update main.cc
e2fb7652 is described below

commit e2fb765213cf138790d02d1b52eebff135a3c8fd
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Thu Nov 14 12:30:34 2024 +0300

    Update main.cc
---
 src/cli/main.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/cli/main.cc b/src/cli/main.cc
index b460671d..fc0539e6 100644
--- a/src/cli/main.cc
+++ b/src/cli/main.cc
@@ -137,11 +137,9 @@ int main(int argc, char *argv[]) {
   });
 
   crc64_init();
-  InitGoogleLog(&config);
-  
+  InitGoogleLog(&config);  
   google::InitGoogleLogging("kvrocks");
-  auto glog_exit = MakeScopeExit(google::ShutdownGoogleLogging);
-  
+  auto glog_exit = MakeScopeExit(google::ShutdownGoogleLogging);  
   LOG(INFO) << "kvrocks " << PrintVersion;
   // Tricky: We don't expect that different instances running on the same port,
   // but the server use REUSE_PORT to support the multi listeners. So we 
connect

Reply via email to