Przeglądaj źródła

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

Zach Hilman 7 lat temu
rodzic
commit
90c07e0d33
1 zmienionych plików z 1 dodań i 1 usunięć
  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;