Skip to main content

State logs

SYNOPSIS

logs [-s|--state-location] [--since] [-u ] [-t ] [--timestamps] [-f ] [-h|--help] [ARGS]

DESCRIPTION

Logs elements from a Statefile

OPTIONS

-s, --state-location=STATE_LOCATION
Path or Url to the Statefile

--since=SINCE
Only include logs since unix timestamp

-u=UNTIL
Only include logs until unix timestamp

-t=TAIL
If integer only return last n logs, if "all" returns all logs

--timestamps
Bool, if set include timestamp to ever log line

-f
Bool, if set open the log as stream

-h, --help
Print help

[ARGS]
Additional arguments to pass to the file