Skip to content

Logger: don't drop log messages at high priority. - #1633

Merged
kareltucek merged 1 commit into
masterfrom
log_flood_fixes
Sep 30, 2026
Merged

kareltucek merged 1 commit into
masterfrom
log_flood_fixes

Conversation

@kareltucek

Copy link
Copy Markdown
Collaborator

Changelog:

  • Don't drop log messages with uhk log priority 1.

With the logging thread at high priority, thread-context producers now wait (bounded,

50ms) for the buffer to drain below 8 messages instead of overwriting old ones. ISR

producers can't wait and may still drop. The wait sits outside the reentrancy guard.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@kareltucek kareltucek changed the title Logger: drop log messages at high priority. Logger: don't drop log messages at high priority. Sep 30, 2026
@kareltucek
kareltucek merged commit 5d2c7b9 into master Sep 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant