src/bh_api.cc
@@ -36,10 +36,7 @@ static std::unique_ptr<TopicNode> ptr; if (!ptr && GlobalInit(BHomeShm())) { auto InitLog = []() { auto id = GetProcExe(); char path[200] = {0}; sprintf(path, "/opt/vasystem/valog/bhshmq_node_%s.log", id.c_str()); ns_log::AddLog(path); ns_log::AddLog(BHLogDir() + "bhshmq_node_" + GetProcExe() + ".log"); return true; }; static bool init_log = InitLog();