From c2cc00574415c612e82f0955523d422f59594912 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期四, 06 五月 2021 19:40:38 +0800
Subject: [PATCH] disable center console log.
---
box/center_main.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/box/center_main.cc b/box/center_main.cc
index a8d5b75..232b943 100644
--- a/box/center_main.cc
+++ b/box/center_main.cc
@@ -92,7 +92,7 @@
return 0;
}
- ns_log::AddLog("/tmp/bhshmq_center.log", true, true);
+ ns_log::AddLog("/tmp/bhshmq_center.log");
auto lvl = args.Get("log", "info");
if (strcasecmp(lvl.c_str(), "trace") == 0) { ns_log::ResetLogLevel(ns_log::LogLevel::trace); }
if (strcasecmp(lvl.c_str(), "debug") == 0) { ns_log::ResetLogLevel(ns_log::LogLevel::debug); }
--
Gitblit v1.8.0