Skip to content

New Post: Embedded Linux Logging Article - #644

Merged
grace-nordic merged 7 commits into
masterfrom
grace/linux-log
Aug 13, 2026
Merged

New Post: Embedded Linux Logging Article#644
grace-nordic merged 7 commits into
masterfrom
grace/linux-log

Conversation

@grace-nordic

Copy link
Copy Markdown
Contributor

Adds a new draft article covering Embedded Linux logging strategies for resource-constrained devices. It walks through various different logging daemons available and ideas to help reduce overall log volume while still preserving critical information for debugging devices.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new draft Interrupt post describing logging strategies for resource-constrained embedded Linux devices, focusing on flash wear, RAM pressure, and practical daemon/configuration tradeoffs.

Changes:

  • Introduces a new draft article covering kernel logging, syslog vs journald, and storage/rate-limiting considerations.
  • Adds example configurations (journald.conf options and a Fluent Bit pipeline) plus references.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread _drafts/_draft_linux_logging.md Outdated
Comment on lines +2 to +13
# This is a template for Interrupt posts. Use previous, more recent posts from the _posts/
# directory for more inspiration and patterns.
#
# When submitting a post for publishing, submit a PR with the post in the _drafts/ directory
# and it will be moved to _posts/ on the date of publish.
#
# e.g.
# $ cp _drafts/_template.md _drafts/my_post.md
#
# It will now show up in the front page when running Jekyll locally.

title: Embedded Linux Logging
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploying interrupt with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7afdbd3
Status: ✅  Deploy successful!
Preview URL: https://295ef8d5.interrupt.pages.dev
Branch Preview URL: https://grace-linux-log.interrupt.pages.dev

View logs

Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated

**How much should you actually log?** Severity levels let you dial verbosity up for active debugging and down for production, but the real lever for device longevity isn't the volume of logs you generate, it is how much of that volume actually gets written to flash, how often, and in what size chunks. Concretely, that means filtering relevant logs, rate-limiting logs as early as possible, and moving anything you only need to *count* out of the log stream and into a metric.

None of these are settings you get right once and forget. Rather, they are tradeoffs worth revisiting as a device's fleet, firmware, and failure modes evolve. Getting them right is what separates a logging architecture that helps you debug a fleet in the field from one that quietly wears out the flash underneath it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like this closing, nice!

Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/draft_linux_logging.md
@jakegwood

Copy link
Copy Markdown

Good topic, and good axes (tools and tradeoffs) to look at it with - excited to get this one added to the library!

Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/draft_linux_logging.md
@grace-nordic
grace-nordic marked this pull request as ready for review August 4, 2026 22:21
@grace-nordic
grace-nordic requested a review from a team as a code owner August 4, 2026 22:21

@jakegwood jakegwood left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@jakegwood

jakegwood commented Aug 6, 2026

Copy link
Copy Markdown

I know you can technically hit merge with my approval, but would appreciate one last pass from our benevolent interrupt leaders (@bahildebrand / @gminn others?) before I start giving full "ship it" approval, in case there's any best practices/preferences I missed :)

@gminn gminn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an awesome article @grace-nordic :star-struck: have a few comments + recommendations!

Comment thread _drafts/draft_linux_logging.md
Comment thread _drafts/draft_linux_logging.md
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/_draft_linux_logging.md Outdated
Comment thread _drafts/draft_linux_logging.md Outdated
@grace-nordic
grace-nordic merged commit f0b0e60 into master Aug 13, 2026
1 check passed
@grace-nordic
grace-nordic deleted the grace/linux-log branch August 13, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants