Skip to content
Command line · Watch

spredr logs

What a service prints (-f to follow).

Usage

terminal
$spredr logs [servicio] [-f] [--stream runtime|deploy|network] [--grep texto] [--problems] [--verbose] [-n 100]

Flags

-f, --followKeeps printing new lines.
--stream <name>runtime (default), deploy or network (the requests it served).
--grep <text>Only lines with this text.
--problemsOnly errors and warnings.
--verboseEach line with all it knows: a JSON line's every field; a request's host, client, timings and sizes.
-n, --limit <n>How many lines to start with.

Examples

terminal
$spredr logs -f
$spredr logs mi-api --problems
$spredr logs --stream network --grep 500 --verbose
back to the command line