Skip to main content

Module log

Module log 

Source
Expand description

Log path helpers.

The log PROCESSOR moved to a3s_box_core::log and now runs in the SHIM — the box’s lifetime process — so a detached run -d box’s logs are not truncated when the launching CLI exits (the processor used to be a spawn_blocking task in the ephemeral CLI). This module re-exports the parts the CLI still needs to locate and read the structured log file.

Functions§

is_runtime_console_noise
True for console lines that are VM/runtime boot internals, not container output — libkrun’s C-init preamble (init.krun: ...), printed before /sbin/init (guest-init) takes over. guest-init’s own tracing goes to /dev/kmsg, so this is the only remaining non-container source on the console.
json_log_path
Path to the structured JSON log file inside a box’s log dir.