lichao
2021-05-26 a011a040996dd4cdb0152aae2206aebc7f4f7034
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();