From 09ee80f590f6d164913f379f9705f6a4af58e7ed Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Sat, 4 Nov 2023 08:07:55 -0700 Subject: [PATCH] file_sys: Replace commented log lines from previous PR with trace logs. (#7109) --- src/core/file_sys/romfs_reader.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/file_sys/romfs_reader.cpp b/src/core/file_sys/romfs_reader.cpp index bdfc9f62a..689726681 100644 --- a/src/core/file_sys/romfs_reader.cpp +++ b/src/core/file_sys/romfs_reader.cpp @@ -25,7 +25,7 @@ std::size_t DirectRomFSReader::ReadFile(std::size_t offset, std::size_t length, d.Seek(crypto_offset + offset); d.ProcessData(buffer, buffer, length); } - // LOG_INFO(Service_FS, "Cache SKIP: offset={}, length={}", offset, length); + LOG_TRACE(Service_FS, "RomFS Cache SKIP: offset={}, length={}", offset, length); return length; } @@ -44,11 +44,11 @@ std::size_t DirectRomFSReader::ReadFile(std::size_t offset, std::size_t length, d.Seek(crypto_offset + page); d.ProcessData(cache_entry.second.data(), cache_entry.second.data(), read_size); } - // LOG_INFO(Service_FS, "Cache MISS: page={}, length={}, into={}", page, seg.second, - // (seg.first - page)); + LOG_TRACE(Service_FS, "RomFS Cache MISS: page={}, length={}, into={}", page, seg.second, + (seg.first - page)); } else { - // LOG_INFO(Service_FS, "Cache HIT: page={}, length={}, into={}", page, seg.second, - // (seg.first - page)); + LOG_TRACE(Service_FS, "RomFS Cache HIT: page={}, length={}, into={}", page, seg.second, + (seg.first - page)); } size_t copy_amount = (read_size > (seg.first - page))