feat(core): increase default logging level to WARN
What changed, and why it matters
This commit changes the default logging setting on Trezor hardware wallets from 'no logging' to 'log warnings'. It is a routine configuration change that makes the device record more diagnostic information by default. There is no indication this is a security fix or introduces a security problem.
No security action required. Treat as a normal firmware development change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The single-line change raises SYSLOG_DEFAULT_LOG_LEVEL from LOG_LEVEL_OFF to LOG_LEVEL_WARN in core/embed/sys/dbg/inc/sys/syslog_config.h. This affects what severity of syslog messages are compiled into/printed by the embedded firmware. No vulnerability, bug fix, or security-relevant behavior is visible in the diff.
Changed components
core/embed/sys/dbg/inc/sys/syslog_config.hInspect captured patch +1 / −1
diff --git a/core/embed/sys/dbg/inc/sys/syslog_config.h b/core/embed/sys/dbg/inc/sys/syslog_config.h
index e0097e0e..98356cb3 100644
--- a/core/embed/sys/dbg/inc/sys/syslog_config.h
+++ b/core/embed/sys/dbg/inc/sys/syslog_config.h
@@ -26,7 +26,7 @@
// Maximum default log level for all modules if not overriden in
// by defining SYSLOG_<module_name>_MAX_LOG_LEVEL during compilation
#ifndef SYSLOG_DEFAULT_LOG_LEVEL
-#define SYSLOG_DEFAULT_LOG_LEVEL LOG_LEVEL_OFF
+#define SYSLOG_DEFAULT_LOG_LEVEL LOG_LEVEL_WARN
#endif
// Maximum default log level for specific modules
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.