Zudoku
unikraft instances

unikraft instances logs

Fetch and display instance logs.

Code
unikraft instances logs <target> ... [flags]

Examples

Fetch logs from an instance:

TerminalCode
unikraft instance logs my-instance

Fetch the last 100 lines of logs from an instance:

TerminalCode
unikraft instance logs my-instance --tail 100

Follow logs from an instance in real-time:

TerminalCode
unikraft instance logs my-instance --follow

Options

Code
-f, --follow Follow log output. --prefix Prefix log lines with instance name. (default true) --tail TAIL Number of lines to show from the end of the logs.

Options inherited from parent commands

Code
--config file Path to the configuration file. --log-level level Set the logging level. (default info) --log-type type Set the log type. (default text) --profile name Set the current profile. --telemetry Toggle usage analytics. (default true) --timeout duration Set a deadline for the command (e.g. 30s, 5m, 1h).

See Also

Last modified on