From d6d277920bfe8f3d2f007cf3930ee6763cfbe041 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Tue, 12 Jul 2022 19:11:23 +0200 Subject: [PATCH] Adjust levels for some log messages. --- source/core/nca.c | 4 ++-- source/core/title.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/core/nca.c b/source/core/nca.c index 24c294b..2dfb4a7 100644 --- a/source/core/nca.c +++ b/source/core/nca.c @@ -696,7 +696,7 @@ static bool ncaVerifyMainSignature(NcaContext *ctx) bool ret = rsa2048VerifySha256BasedPssSignature(&(ctx->header.magic), NCA_SIGNATURE_AREA_SIZE, ctx->header.main_signature, modulus, g_ncaHeaderMainSignaturePublicExponent, \ sizeof(g_ncaHeaderMainSignaturePublicExponent)); - LOG_MSG_INFO("Header signature for %s NCA \"%s\" is %s.", titleGetNcmContentTypeName(ctx->content_type), ctx->content_id_str, ret ? "valid" : "invalid"); + LOG_MSG_DEBUG("Header signature for %s NCA \"%s\" is %s.", titleGetNcmContentTypeName(ctx->content_type), ctx->content_id_str, ret ? "valid" : "invalid"); return ret; } @@ -763,7 +763,7 @@ static bool ncaInitializeFsSectionContext(NcaContext *nca_ctx, u32 section_idx) /* Don't proceed if this NCA FS section isn't populated. */ if (!ncaIsFsInfoEntryValid(fs_info)) { - LOG_MSG_INFO("Invalid FsInfo entry for section #%u in \"%s\". Skipping FS section.", section_idx, nca_ctx->content_id_str); + LOG_MSG_DEBUG("Invalid FsInfo entry for section #%u in \"%s\". Skipping FS section.", section_idx, nca_ctx->content_id_str); goto end; } diff --git a/source/core/title.c b/source/core/title.c index db43912..acfc33c 100644 --- a/source/core/title.c +++ b/source/core/title.c @@ -2316,7 +2316,7 @@ static TitleInfo *_titleGetInfoFromStorageByTitleId(u8 storage_id, u64 title_id) if (out) break; } - if (!out) LOG_MSG_INFO("Unable to find title info entry with ID \"%016lX\" in %s.", title_id, titleGetNcmStorageIdName(storage_id)); + if (!out) LOG_MSG_DEBUG("Unable to find title info entry with ID \"%016lX\" in %s.", title_id, titleGetNcmStorageIdName(storage_id)); return out; }