diff --git a/frameworks/native/backup_ext/BUILD.gn b/frameworks/native/backup_ext/BUILD.gn index 14208017dc0426bf1c1861e220d3afcae67ef337..bab93361545678f2e5f638b1f04fc8c68613df5b 100644 --- a/frameworks/native/backup_ext/BUILD.gn +++ b/frameworks/native/backup_ext/BUILD.gn @@ -41,7 +41,7 @@ ohos_shared_library("backup_extension_ability_native") { ] defines = [ - "LOG_DOMAIN=0xD004301", + "LOG_DOMAIN=0xD004303", "LOG_TAG=\"BackupExt\"", ] diff --git a/frameworks/native/backup_ext/src/untar_file.cpp b/frameworks/native/backup_ext/src/untar_file.cpp index c5eaa133194ce8c88510394b8311338b9d7c3866..d84c328a7693a92cf84b38299892be665e1b3a96 100644 --- a/frameworks/native/backup_ext/src/untar_file.cpp +++ b/frameworks/native/backup_ext/src/untar_file.cpp @@ -630,7 +630,7 @@ FILE *UntarFile::CreateFile(string &filePath) } uint32_t len = filePath.length(); - HILOGW("Failed to open file %{public}d, %{public}s, err = %{public}d, Will create", len, + HILOGD("Failed to open file %{public}d, %{public}s, err = %{public}d, Will create", len, GetAnonyPath(filePath).c_str(), errno); size_t pos = filePath.rfind('/'); if (pos == string::npos) {