opti:change push mgr to consume msg for subscribe
This commit is contained in:
parent
8572f4a32f
commit
168e6f8936
|
@ -1274,10 +1274,10 @@ int32_t taosCreateLog(const char *logname, int32_t logFileNum, const char *cfgDi
|
|||
taosSetAllDebugFlag(cfgGetItem(pCfg, "debugFlag")->i32, false);
|
||||
|
||||
if (taosMulModeMkDir(tsLogDir, 0777) != 0) {
|
||||
// terrno = TAOS_SYSTEM_ERROR(errno);
|
||||
// printf("failed to create dir:%s since %s", tsLogDir, terrstr());
|
||||
// cfgCleanup(pCfg);
|
||||
// return -1;
|
||||
terrno = TAOS_SYSTEM_ERROR(errno);
|
||||
printf("failed to create dir:%s since %s", tsLogDir, terrstr());
|
||||
cfgCleanup(pCfg);
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (taosInitLog(logname, logFileNum) != 0) {
|
||||
|
|
Loading…
Reference in New Issue