From 9b49d9464444d59b090b2d6c6eda459bb207ee8a Mon Sep 17 00:00:00 2001 From: Colin E <5352197+Kewlan@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:41:06 +0100 Subject: [PATCH] Lower log level of some sdmc logs (#6266) --- src/core/file_sys/archive_sdmc.cpp | 4 ++-- src/core/hle/service/fs/fs_user.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/file_sys/archive_sdmc.cpp b/src/core/file_sys/archive_sdmc.cpp index 81db641e43..a68e6bf34f 100644 --- a/src/core/file_sys/archive_sdmc.cpp +++ b/src/core/file_sys/archive_sdmc.cpp @@ -132,7 +132,7 @@ ResultCode SDMCArchive::DeleteFile(const Path& path) const { case PathParser::PathNotFound: case PathParser::FileInPath: case PathParser::NotFound: - LOG_ERROR(Service_FS, "{} not found", full_path); + LOG_DEBUG(Service_FS, "{} not found", full_path); return ERROR_NOT_FOUND; case PathParser::DirectoryFound: LOG_ERROR(Service_FS, "{} is not a file", full_path); @@ -291,7 +291,7 @@ ResultCode SDMCArchive::CreateDirectory(const Path& path) const { return ERROR_NOT_FOUND; case PathParser::DirectoryFound: case PathParser::FileFound: - LOG_ERROR(Service_FS, "{} already exists", full_path); + LOG_DEBUG(Service_FS, "{} already exists", full_path); return ERROR_ALREADY_EXISTS; case PathParser::NotFound: break; // Expected 'success' case diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp index 8670788e34..42052c16f5 100644 --- a/src/core/hle/service/fs/fs_user.cpp +++ b/src/core/hle/service/fs/fs_user.cpp @@ -74,7 +74,7 @@ void FS_USER::OpenFile(Kernel::HLERequestContext& ctx) { rb.PushMoveObjects(file->Connect()); } else { rb.PushMoveObjects(nullptr); - LOG_ERROR(Service_FS, "failed to get a handle for file {}", file_path.DebugStr()); + LOG_DEBUG(Service_FS, "failed to get a handle for file {}", file_path.DebugStr()); } ctx.SleepClientThread("fs_user::open", open_timeout_ns, nullptr);