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

dicer compose logs

Show the consoles of the project’s instances

Synopsis

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.

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

Examples

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

Options

  -f, --follow       Keep writing new output until the instances stop
  -h, --help         help for logs
      --no-prefix    Do not mark each line with its instance's name
  -n, --tail int32   Show only the last lines of each (default: all)

Options inherited from parent commands

  -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)
      --timeout duration   Give 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)

SEE ALSO

  • dicer compose - Run a project of instances described in a compose file