pier_
Reference

pier logs

Read or follow logs for an app, a Postgres, or the whole environment

pier logs [<ref>] [flags]

Read or follow logs for an app, a Postgres, or the whole environment.

Arguments

ArgumentRequiredDescription
<ref>noApp or Postgres to read (name, name/target, or name/target/instance); omit to pick

Flags

FlagValueDefaultDescription
--typeSTRINGDisambiguate a name shared by several kinds: app or pg
--allEvery app in the environment (skips the picker)
--tail100100Max lines
--since1hLookback: a duration (30m, 6h, 7d) or an RFC3339 time
--querySTRINGSearch filter (Quickwit syntax; a bare word matches the message; substring-only with --follow)
--levelLEVEL,...Only these levels (repeatable). Apps: INFO WARN ERROR FATAL DEBUG TRACE; Postgres: LOG INFO NOTICE WARNING ERROR FATAL DEBUG
--instanceSTRINGApps: one instance (name or pod suffix) — the same as a third ref segment
-f, --followKeep streaming new lines until Ctrl-C (apps and environments)
--utcTimestamps in UTC instead of local time

Global flags apply to every command.

On this page