Mirror console logs to file - #761
Conversation
Currently, the only way to observe boot logs is by attaching to the serial console manually. This often misses very early boot logs which cannot be recovered. This commit adds a log config to the serial console to ensure its output is mirrored into a file so that it can be inspected even when the early boot phase was missed. Resolves: #737 Signed-off-by: Maximilian Moehl <maximilian@moehl.eu>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe provider now creates per-machine log directories and configures libvirt to append serial console output to ChangesMachine console logging
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Currently, the only way to observe boot logs is by attaching to the serial console manually. This often misses very early boot logs which cannot be recovered.
This commit adds a log config to the serial console to ensure its output is mirrored into a file so that it can be inspected even when the early boot phase was missed.
Resolves: #737
Summary by CodeRabbit
New Features
Documentation