lichao
2021-05-06 c2cc00574415c612e82f0955523d422f59594912
disable center console log.
1个文件已修改
2 ■■■ 已修改文件
box/center_main.cc 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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); }