Sync version change
This commit is contained in:
parent
8e260d9fb8
commit
c87c257246
|
@ -1555,6 +1555,7 @@ DBusConnection* DBusWithLibuvInit(uv_loop_t* pUserLoop,
|
||||||
|
|
||||||
IHW_InitLOG(strrchr(pBusName, '.') + 1, NULL, TRUE);
|
IHW_InitLOG(strrchr(pBusName, '.') + 1, NULL, TRUE);
|
||||||
IHW_EnableLogLevel(LOG_Fatal | LOG_Error | LOG_Warn | LOG_Debug | LOG_Info, 1);
|
IHW_EnableLogLevel(LOG_Fatal | LOG_Error | LOG_Warn | LOG_Debug | LOG_Info, 1);
|
||||||
|
IHW_RunLogService();
|
||||||
|
|
||||||
APP_BUILD_INFO(strrchr(pBusName, '.') + 1, GetCurrentVersion());
|
APP_BUILD_INFO(strrchr(pBusName, '.') + 1, GetCurrentVersion());
|
||||||
|
|
||||||
|
@ -1731,8 +1732,6 @@ DBusConnection* DBusWithLibuvInit(uv_loop_t* pUserLoop,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
IHW_RunLogService();
|
|
||||||
|
|
||||||
return pBus;
|
return pBus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ typedef struct
|
||||||
FILE *pLogFile;
|
FILE *pLogFile;
|
||||||
} LOG_PROCESS_INFO, *PLOG_PROCESS_INFO;
|
} LOG_PROCESS_INFO, *PLOG_PROCESS_INFO;
|
||||||
|
|
||||||
static int g_bEnableLog = TRUE; // 是否启用 Log 功能
|
static int g_bEnableLog = FALSE; // 是否启用 Log 功能
|
||||||
static int g_bEnMailBackup = FALSE;
|
static int g_bEnMailBackup = FALSE;
|
||||||
static char* g_pEmailBox = NULL;
|
static char* g_pEmailBox = NULL;
|
||||||
static int g_bEnLogToFile = TRUE;
|
static int g_bEnLogToFile = TRUE;
|
||||||
|
|
Loading…
Reference in New Issue