Skip to content
This is the documentation for v0.3. Read the latest.

dicer logs

Shows the guest’s serial console: the kernel’s boot messages, dicer-init’s, and whatever the workload writes to the console. It is kept with the instance, so it can be read after a stop to explain one.

Use --source hypervisor for the VMM’s own log, which explains a guest that never got as far as booting. That one is discarded when the instance stops.

Usage

$ dicer logs NAME [flags]

Examples

$ dicer logs -f web
$ dicer logs -n 50 web
$ dicer logs --source hypervisor web

Flags

FlagDescription
-f, --followKeep writing new output until the instance stops.
--source stringWhich log to read: guest or hypervisor. Default: guest.
-n, --tail int32Show only the last lines (default: all).

Global flags

FlagDescription
-D, --debugTrace every call to the daemon on stderr (or set $DICER_DEBUG).
-r, --remote stringDaemon to talk to: a remote’s name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local).
--timeout durationGive up on a call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded).