Skip to content
This is the documentation for main, which is not released yet. Read the latest.

dicer compose logs

Shows the guest consoles of the services’ instances, each line marked with its instance’s name. With -f, keeps writing new output until they stop.

Usage

$ dicer compose logs [SERVICE...] [flags]

Examples

$ dicer compose logs
$ dicer compose logs -f web worker
$ dicer compose logs -n 20 db

Flags

FlagDescription
-f, --followKeep writing new output until the instances stop.
--no-prefixDo not mark each line with its instance’s name.
-n, --tail intShow only the last lines of each (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).
--request-timeout durationGive 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).