Skip to content

feat(agent): add secondary logger for high-severity diagnostics - #649

Open
thijmv wants to merge 1 commit into
masterfrom
thijmv/agent-diagnostics-logging
Open

feat(agent): add secondary logger for high-severity diagnostics#649
thijmv wants to merge 1 commit into
masterfrom
thijmv/agent-diagnostics-logging

Conversation

@thijmv

@thijmv thijmv commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Currently, the logs from the agents are stored in a .nocollect file, as the sheer amount of logs would exceed ingestion limits. To improve observability, this PR makes the agent optionally emit high-severity logs to a dedicated file. This is done by teeing log entries that meet a configurable severity threshold to a secondary logger.

Test plan

Unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant