DocsReleasesCommunityGuidesBlog

kraft logs

Fetch the logs of a unikernel

Fetch the logs of a unikernel.

kraft logs [FLAGS] MACHINE

Examples#

# Fetch the logs of a unikernel
$ kraft logs my-machine
# Fetch the logs of a unikernel and follow the output
$ kraft logs --follow my-machine
# Fetch the logs of multiple unikernels and follow the output
$ kraft logs --follow my-machine1 my-machine2

Options#

-f, --follow Follow log output
-h, --help help for logs
--no-prefix When logging multiple machines, do not prefix each log line with the name
-p, --plat string Set the platform virtual machine monitor driver. Set to 'auto' to detect the guest's platform and 'host' to use the host platform. (default "auto")

See Also#

  • kraft: Build and use highly customized and ultra-lightweight unikernels
Edit this page on GitHub

Connect with the community

Feel free to ask questions, report issues, and meet new people.

Join us on Discord!
®

Getting Started

What is a unikernel?Install CLI companion toolUnikraft InternalsRoadmap

© 2025  The Unikraft Authors. All rights reserved. Documentation distributed under CC BY-NC 4.0.