Explorar o código

content_archive: Move get key log to Trace level
Avoids printing live keys in the general log.

Zach Hilman %!s(int64=7) %!d(string=hai) anos
pai
achega
90c07e0d33
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/file_sys/content_archive.cpp

+ 1 - 1
src/core/file_sys/content_archive.cpp

@@ -133,7 +133,7 @@ boost::optional<Core::Crypto::Key128> NCA::GetKeyAreaKey(NCASectionCryptoType ty
                      static_cast<u8>(type));
     u128 out_128{};
     memcpy(out_128.data(), out.data(), 16);
-    LOG_DEBUG(Crypto, "called with crypto_rev={:02X}, kak_index={:02X}, key={:016X}{:016X}",
+    LOG_TRACE(Crypto, "called with crypto_rev={:02X}, kak_index={:02X}, key={:016X}{:016X}",
               master_key_id, header.key_index, out_128[1], out_128[0]);
 
     return out;