From 781d31d39f71747043fca9c23702cdfc7a824af5 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Thu, 31 Mar 2022 16:41:27 +0800 Subject: [PATCH] adjust log --- source/dnode/mgmt/main/src/dndExec.c | 2 +- source/util/src/tconfig.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/dnode/mgmt/main/src/dndExec.c b/source/dnode/mgmt/main/src/dndExec.c index 2999a30d67..c5d5707a99 100644 --- a/source/dnode/mgmt/main/src/dndExec.c +++ b/source/dnode/mgmt/main/src/dndExec.c @@ -276,8 +276,8 @@ static int32_t dndRunInParentProcess(SDnode *pDnode) { } static int32_t dndRunInChildProcess(SDnode *pDnode) { - dInfo("dnode run in child process"); SMgmtWrapper *pWrapper = &pDnode->wrappers[pDnode->ntype]; + dInfo("%s run in child process", pWrapper->name); SMsgCb msgCb = dndCreateMsgcb(pWrapper); tmsgSetDefaultMsgCb(&msgCb); diff --git a/source/util/src/tconfig.c b/source/util/src/tconfig.c index 04061cbaf1..9101d3c7c8 100644 --- a/source/util/src/tconfig.c +++ b/source/util/src/tconfig.c @@ -590,12 +590,12 @@ void cfgDumpCfg(SConfig *pCfg, bool tsc, bool dump) { } int32_t cfgLoadFromEnvVar(SConfig *pConfig) { - uInfo("load from global env variables success"); + uInfo("load from global env variables not implemented yet"); return 0; } int32_t cfgLoadFromEnvFile(SConfig *pConfig, const char *filepath) { - uInfo("load from env file [%s] success", filepath); + uInfo("load from env file not implemented yet"); return 0; } @@ -649,11 +649,11 @@ int32_t cfgLoadFromCfgFile(SConfig *pConfig, const char *filepath) { taosCloseFile(&pFile); if (line != NULL) taosMemoryFreeClear(line); - uInfo("load from cfg file [%s] success", filepath); + uInfo("load from cfg file %s success", filepath); return 0; } int32_t cfgLoadFromApollUrl(SConfig *pConfig, const char *url) { - uInfo("load from apoll url [%s] success", url); + uInfo("load from apoll url not implemented yet"); return 0; }