komrad log

Show the log lines the service wrote under one trace id

komrad

komrad log [trace-id] [flags]

Every line the service logs carries a trace id, which is one id for one request end to end or one pass of a background loop. A call that fails answers with its trace id, so following what happened behind a failure is a matter of naming the id here. The service reads its own log back, so this works against a remote engine the same as against this machine.

Run with --recent instead of an id to list the trace ids the log ends with, which is where to start when you know what you did but not what it was called.

Flags#

FlagTypeDescription
--recentbool

list the trace ids the log ends with rather than showing one

Inherited flags#

FlagTypeDescription
--configstringArray

path to a config TOML, repeatable, later files win over earlier ones

--enginestring

engine to reach, named after a file in the config's engines directory, layered over the config