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 a unikernel and prefix each line with the machine name
$ kraft logs --prefix-name
# Fetch the logs of a unikernel and prefix each line with the given string
$ kraft logs --prefix "log: "

Options#

-f, --follow Follow log output
-h, --help help for logs
-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")
--prefix string Prefix each log line with the given string
--prefix-name Prefix each log line with the machine name

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

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