Skip to content

CBG-5268: [4.0.5 backport] Add journalctl command to collect kernel messages#8228

Open
gregns1 wants to merge 1 commit intorelease/4.0.5from
CBG-5268
Open

CBG-5268: [4.0.5 backport] Add journalctl command to collect kernel messages#8228
gregns1 wants to merge 1 commit intorelease/4.0.5from
CBG-5268

Conversation

@gregns1
Copy link
Copy Markdown
Contributor

@gregns1 gregns1 commented May 5, 2026

CBG-5268

Backports #8198

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Dependencies (if applicable)

  • Link upstream PRs
  • Update Go module dependencies when merged

Integration Tests

Copilot AI review requested due to automatic review settings May 5, 2026 16:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an sgcollect Linux task to capture kernel messages via journalctl, complementing existing OS/system log collection in tools/tasks.py.

Changes:

  • Introduces a new LinuxTask named “Kernel Messages”.
  • Runs journalctl -k with short-monotonic formatting and --no-hostname output.

Comment thread tools/tasks.py
),
LinuxTask(
"Kernel Messages",
"journalctl -ko short-monotonic --no-hostname",
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.

3 participants