From 19315712bea4a062d0eed78518e6d28840de3d7b Mon Sep 17 00:00:00 2001 From: wangxutao Date: Tue, 18 Jul 2023 09:11:16 +0800 Subject: [PATCH] cmdline log level change Signed-off-by: wangxutao --- services/init/init_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/init/init_config.c b/services/init/init_config.c index 73b67583..c1116c5f 100644 --- a/services/init/init_config.c +++ b/services/init/init_config.c @@ -105,7 +105,7 @@ void ReadConfig(void) char buffer[32] = {0}; // 32 reason max leb uint32_t len = sizeof(buffer); SystemReadParam("ohos.boot.reboot_reason", buffer, &len); - INIT_LOGV("ohos.boot.reboot_reason %s", buffer); + INIT_LOGI("ohos.boot.reboot_reason %s", buffer); if (strcmp(buffer, "poweroff_charge") == 0) { ParseInitCfg(INIT_CONFIGURATION_FILE, NULL); ReadFileInDir(OTHER_CHARGE_PATH, ".cfg", ParseInitCfg, NULL); -- GitLab