Adjust console logging format when running under systemd #807
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.36) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 71 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.256
Real PR Conversation Timeline
1 comments
"Review active on #807"
general
weight: 0.35
yarda
Most systemd services write their logs to the systemd journal by default. I think tuned should do likewise, because users would expect this, and it's useful to be able to read tuned logs together with other system logs.
So this PR changes the systemd services to remove the
-l(log to/var/log/tuned/tuned.log) option.It also adds a systemd-specific log formatter, which is only enabled when running in a systemd service and logging to console.
I chose not to use the
python-systemdmodule because the extra dependency can be avoided with very little code.