From c87c257246d3960ccf0d0d28721566e619a1a701 Mon Sep 17 00:00:00 2001 From: HuangXin Date: Tue, 17 Jul 2018 15:52:33 +0800 Subject: [PATCH] Sync version change --- .../netease/libuvdbus/src/Framework/libuvEngine/libuv_dbus.c | 5 ++--- package/netease/libuvdbus/src/log/log.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package/netease/libuvdbus/src/Framework/libuvEngine/libuv_dbus.c b/package/netease/libuvdbus/src/Framework/libuvEngine/libuv_dbus.c index 4a7ce08d2..dc04cabfb 100644 --- a/package/netease/libuvdbus/src/Framework/libuvEngine/libuv_dbus.c +++ b/package/netease/libuvdbus/src/Framework/libuvEngine/libuv_dbus.c @@ -1555,7 +1555,8 @@ DBusConnection* DBusWithLibuvInit(uv_loop_t* pUserLoop, IHW_InitLOG(strrchr(pBusName, '.') + 1, NULL, TRUE); IHW_EnableLogLevel(LOG_Fatal | LOG_Error | LOG_Warn | LOG_Debug | LOG_Info, 1); - + IHW_RunLogService(); + APP_BUILD_INFO(strrchr(pBusName, '.') + 1, GetCurrentVersion()); // wait UDISK mount, configure file save in UDISK partition @@ -1731,8 +1732,6 @@ DBusConnection* DBusWithLibuvInit(uv_loop_t* pUserLoop, } #endif - IHW_RunLogService(); - return pBus; } diff --git a/package/netease/libuvdbus/src/log/log.c b/package/netease/libuvdbus/src/log/log.c index bd4db80d6..ff4507e92 100644 --- a/package/netease/libuvdbus/src/log/log.c +++ b/package/netease/libuvdbus/src/log/log.c @@ -120,7 +120,7 @@ typedef struct FILE *pLogFile; } LOG_PROCESS_INFO, *PLOG_PROCESS_INFO; -static int g_bEnableLog = TRUE; // 是否启用 Log 功能 +static int g_bEnableLog = FALSE; // 是否启用 Log 功能 static int g_bEnMailBackup = FALSE; static char* g_pEmailBox = NULL; static int g_bEnLogToFile = TRUE;