This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/faq/1230-better-logs.md
guillaume 204d067bcc docs: Implement FAQ page, default values in Cue + fix sidebar and titles
Move faq pages from guide to specific FAQ page, shown as per tailscale format.
Custom in-house logic implemented because Docusaurus doesn't manage it

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-04-14 15:35:15 +02:00

529 B

slug displayed_sidebar
/1230/better-logs europa

Log formats

Dagger exposes 2 logging format options:

  • --log-format auto|plain|tty|json

The default mode is auto. If you want to keep each actions' logs, use the plain mode

  • --log-level panic|fatal|error|warn|info|debug|trace

debug is useful to check whether an explicit dependency has been found between two actions.

You can also export these options as env variables:

export DAGGER_LOG_FORMAT="plain"
export DAGGER_LOG_LEVEL="debug"