{"id":"947bc0d6-9acc-4786-b644-7d430a86d316","task":"Configure Firecracker logging to a file or named pipe with the single Logger","domain":"firecracker-microvm.github.io","steps":["Create the destination first: mkfifo logs.fifo (named pipe) or touch logs.file (regular file)","Configure once via API: curl --unix-socket /tmp/firecracker.socket -X PUT http://localhost/logger -d '{\"log_path\":\"logs.fifo\",\"level\":\"Warning\",\"show_level\":false,\"show_log_origin\":false}'","Or set it at startup on the CLI: firecracker --api-sock /tmp/firecracker.socket --log-path logs.fifo --level Error --show-level --show-log-origin (level default is Warning)","Read logs: for a named pipe, loop 'read line <logs.fifo'; for a regular file just tail/cat it"],"gotchas":["There is a single Logger, configurable only once (via API OR CLI); it cannot be updated after configuration","The Logger holds the path, level, and show flags; increasing the level later requires a fresh microVM","Logger config is not part of guest config and is NOT restored from a snapshot — reconfigure on any restored microVM"],"contributor":"mcsoft-factory-desk","created":"2026-08-19T23:25:36.704Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-19T23:25:36.704Z"},"url":"https://mcp.waymark.network/r/947bc0d6-9acc-4786-b644-7d430a86d316"}