fix: adjust log
This commit is contained in:
parent
1c892e3e3d
commit
8a7d34eae7
|
@ -722,13 +722,13 @@ int32_t cfgLoadFromEnvFile(SConfig *pConfig, const char *envFile) {
|
|||
const char *filepath = ".env";
|
||||
if (envFile != NULL && strlen(envFile) > 0) {
|
||||
if (!taosCheckExistFile(envFile)) {
|
||||
uError("failed to load env file: %s", envFile);
|
||||
uError("failed to load env file:%s", envFile);
|
||||
return -1;
|
||||
}
|
||||
filepath = envFile;
|
||||
} else {
|
||||
if (!taosCheckExistFile(filepath)) {
|
||||
uInfo("failed to load env file: %s", filepath);
|
||||
uInfo("env file:%s not load", filepath);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -929,7 +929,7 @@ int32_t cfgLoadFromApollUrl(SConfig *pConfig, const char *url) {
|
|||
if (strncmp(url, "jsonFile", 8) == 0) {
|
||||
char *filepath = p;
|
||||
if (!taosCheckExistFile(filepath)) {
|
||||
uError("failed to load json file: %s", filepath);
|
||||
uError("failed to load json file:%s", filepath);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -1056,13 +1056,13 @@ int32_t cfgGetApollUrl(const char **envCmd, const char *envFile, char *apolloUrl
|
|||
const char *filepath = ".env";
|
||||
if (envFile != NULL && strlen(envFile) > 0) {
|
||||
if (!taosCheckExistFile(envFile)) {
|
||||
uError("failed to load env file: %s", envFile);
|
||||
uError("failed to load env file:%s", envFile);
|
||||
return -1;
|
||||
}
|
||||
filepath = envFile;
|
||||
} else {
|
||||
if (!taosCheckExistFile(filepath)) {
|
||||
uInfo("failed to load env file: %s", filepath);
|
||||
uInfo("env file:%s not load", filepath);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,25 +81,25 @@ int64_t tsNumOfDebugLogs = 0;
|
|||
int64_t tsNumOfTraceLogs = 0;
|
||||
|
||||
// log
|
||||
int32_t dDebugFlag = 135;
|
||||
int32_t vDebugFlag = 135;
|
||||
int32_t mDebugFlag = 135;
|
||||
int32_t dDebugFlag = 131;
|
||||
int32_t vDebugFlag = 131;
|
||||
int32_t mDebugFlag = 131;
|
||||
int32_t cDebugFlag = 131;
|
||||
int32_t jniDebugFlag = 131;
|
||||
int32_t tmrDebugFlag = 131;
|
||||
int32_t uDebugFlag = 131;
|
||||
int32_t rpcDebugFlag = 131;
|
||||
int32_t qDebugFlag = 131;
|
||||
int32_t wDebugFlag = 135;
|
||||
int32_t sDebugFlag = 135;
|
||||
int32_t wDebugFlag = 131;
|
||||
int32_t sDebugFlag = 131;
|
||||
int32_t tsdbDebugFlag = 131;
|
||||
int32_t tdbDebugFlag = 131;
|
||||
int32_t tqDebugFlag = 135;
|
||||
int32_t fsDebugFlag = 135;
|
||||
int32_t metaDebugFlag = 135;
|
||||
int32_t udfDebugFlag = 135;
|
||||
int32_t tqDebugFlag = 131;
|
||||
int32_t fsDebugFlag = 131;
|
||||
int32_t metaDebugFlag = 131;
|
||||
int32_t udfDebugFlag = 131;
|
||||
int32_t smaDebugFlag = 131;
|
||||
int32_t idxDebugFlag = 135;
|
||||
int32_t idxDebugFlag = 131;
|
||||
|
||||
int64_t dbgEmptyW = 0;
|
||||
int64_t dbgWN = 0;
|
||||
|
|
|
@ -361,7 +361,7 @@ int32_t taosListRef() {
|
|||
|
||||
if (pSet->state == TSDB_REF_STATE_EMPTY) continue;
|
||||
|
||||
uInfo("rsetId:%d state:%d count::%d", i, pSet->state, pSet->count);
|
||||
uInfo("rsetId:%d state:%d count:%d", i, pSet->state, pSet->count);
|
||||
|
||||
for (int32_t j = 0; j < pSet->max; ++j) {
|
||||
pNode = pSet->nodeList[j];
|
||||
|
|
|
@ -139,7 +139,7 @@ echo "fsDebugFlag 143" >> $TAOS_CFG
|
|||
echo "idxDebugFlag 143" >> $TAOS_CFG
|
||||
echo "udfDebugFlag 143" >> $TAOS_CFG
|
||||
echo "smaDebugFlag 143" >> $TAOS_CFG
|
||||
echo "idxDebugFlag 143" >> $TAOS_CFG
|
||||
echo "metaDebugFlag 143" >> $TAOS_CFG
|
||||
echo "numOfLogLines 20000000" >> $TAOS_CFG
|
||||
echo "asyncLog 0" >> $TAOS_CFG
|
||||
echo "locale en_US.UTF-8" >> $TAOS_CFG
|
||||
|
|
Loading…
Reference in New Issue