dicer logs
Shows the guest’s console log: 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 hypervisor’s own log, which explains a guest
that crashed or never got as far as booting. It is kept with the instance
too, across stops and restarts, until the instance is deleted.
Usage
$ dicer logs NAME [flags]
Examples
$ dicer logs -f web
$ dicer logs -n 50 web
$ dicer logs --source hypervisor web
Flags
| Flag | Description |
|---|---|
-f, --follow | Keep writing new output until the instance stops. |
--source string | Which log to read: guest or hypervisor. Default: guest. |
-n, --tail int | Show only the last lines (default: all). |
Global flags
| Flag | Description |
|---|---|
-D, --debug | Trace every call to the daemon on stderr (or set $DICER_DEBUG). |
-r, --remote string | Daemon to talk to: a remote’s name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local). |
--request-timeout duration | Give up on a single call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded). |