From 7a213187d1b8e72efee3a38572214fa1ddb31311 Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Thu, 31 Mar 2022 17:15:55 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Alog=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xionglei6 --- src/appspawn_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index 0c6814d4..5f3f4bb3 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -56,8 +56,8 @@ constexpr static mode_t FILE_MODE = 0711; constexpr static mode_t NWEB_FILE_MODE = 0511; -#define APPSPAWN_LOGI(fmt, ...) STARTUP_LOGI("appspawn_server.log", "APPSPAWN", fmt, ##__VA_ARGS__) -#define APPSPAWN_LOGE(fmt, ...) STARTUP_LOGE("appspawn_server.log", "APPSPAWN", fmt, ##__VA_ARGS__) +#define APPSPAWN_LOGI(fmt, ...) STARTUP_LOGI(0, "APPSPAWN", fmt, ##__VA_ARGS__) +#define APPSPAWN_LOGE(fmt, ...) STARTUP_LOGE(0, "APPSPAWN", fmt, ##__VA_ARGS__) #define GRAPHIC_PERMISSION_CHECK namespace OHOS { -- Gitee