Skip to content

Commit 127b76a

Browse files
committed
fixed:set log level not work
1 parent 4afb4c2 commit 127b76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XEngine_Source/XEngine_MQServiceApp/XEngine_MQServiceApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ int main(int argc, char** argv)
153153
printf("启动服务器失败,启动日志失败,错误:%lX", XLog_GetLastError());
154154
goto NETSERVICEEXIT;
155155
}
156-
HelpComponents_XLog_SetLogPriority(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO);
156+
HelpComponents_XLog_SetLogPriority(xhLog, st_ServiceCfg.st_XLog.nLogLeave);
157157
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _X("启动服务中,初始化日志系统成功"));
158158

159159
if (!Config_Json_DBFile(lpszDBConfig, &st_DBConfig))

0 commit comments

Comments
 (0)