refactor(Logging): calibrate default levels and reduce playback noise

Serial default VERBOSE→INFO, MQTT default NONE→WARNING, SD NONE→WARNING.
Per-subsystem MQTT caps added in CommunicationRouter: BellEngine/
OutputManager/HealthMonitor/ConfigManager at WARNING to silence per-note
and per-poll spam; Player/Telemetry/OTAManager at INFO to keep state
transitions visible.

Remove early Logging::setLevel() call in main.cpp — CommunicationRouter
applies all three channels once the MQTT callback is wired. Loop heartbeat
downgraded DEBUG→VERBOSE. HealthMonitor polling noise (skipping/performing
lines) removed; subsystem status and completion lines VERBOSE→DEBUG.
FirmwareValidator boot-path checks VERBOSE→INFO (one-shot, worth seeing).
ConfigManager isHealthy() false-branches and NVS read trace VERBOSE→DEBUG.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 10:01:19 +03:00
co-authored by Claude Sonnet 4.6
parent 67da788738
commit 3d90ed4292
6 changed files with 43 additions and 39 deletions
+3 -3
View File
@@ -217,9 +217,9 @@ public:
* All clock settings are loaded from SD card at startup.
*/
struct GeneralConfig {
uint8_t serialLogLevel = 5;
uint8_t sdLogLevel = 0;
uint8_t mqttLogLevel = 0;
uint8_t serialLogLevel = 3; // INFO
uint8_t sdLogLevel = 2; // WARNING (inactive until SD callback is wired)
uint8_t mqttLogLevel = 2; // WARNING
bool mqttEnabled = true; // MQTT enabled by default
String otaChannel = "stable"; // OTA release channel: "stable" | "beta" | "development"
};