mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-04 06:15:09 +00:00
fix(display): routine rotation log lines are DEBUG (30% fewer journal lines) (#693)
"Processing mode", "display() returned False" and "No content to display" repeated what "Switching to mode" already logs on every rotation; they are now DEBUG. On ledpi this cut the display's journal lines by about 30%; the measured SD-write saving is small (within noise). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -303,6 +303,14 @@ read any of them:
|
||||
|
||||
### Fixes
|
||||
|
||||
- Quieter routine logging. Every rotation logged each mode twice
|
||||
("Switching to mode", then "Processing mode"), and a mode with nothing to
|
||||
show added "display() returned False" and "No content to display". Those
|
||||
three repeats are now DEBUG; "Switching to mode" stays INFO, and `--debug`
|
||||
shows the rest. On ledpi this cut the display's journal lines by about 30%
|
||||
(~105 to ~75 per 5 minutes). Each stored line costs roughly 9 KB of SD-card
|
||||
writes through the persistent journal (display at INFO vs WARNING: about
|
||||
190 KiB/min apart), so the saving is real but small.
|
||||
- Reinstalling a plugin by its registry id when it is installed under its
|
||||
manifest id (`weather` in `ledmatrix-weather/`) no longer deletes it when
|
||||
the install then fails. The safety copy was taken of `weather/`, which did
|
||||
|
||||
Reference in New Issue
Block a user