We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3382d98 commit ea6429aCopy full SHA for ea6429a
1 file changed
src/recorders/postinstall/system.rs
@@ -47,6 +47,7 @@ impl SystemRecorder {
47
self.record_kernel_cfg().boxed(),
48
self.record_xen_capabilities().boxed(),
49
self.record_loaded_modules().boxed(),
50
+ self.record_boot_log().boxed(),
51
])
52
.await;
53
@@ -241,6 +242,16 @@ impl SystemRecorder {
241
242
self.run_tool("journalctl -u kubelet").await
243
}
244
245
+ /// Records the current boot kernel journalctl log.
246
+ ///
247
+ /// Manual equivalent:
248
+ /// ```sh
249
+ /// journalctl -b
250
+ /// ```
251
+ pub async fn record_boot_log(&self) -> CheckResult {
252
+ self.run_tool("journalctl -b").await
253
+ }
254
+
255
/// Records CPU hardware details and feature flags.
256
///
257
/// Manual equivalent:
0 commit comments