MarketDeck docs

logs

Tail process and agent logs — the daemon, the web UI, and recent agent runs.

marketdeck logs is the unified tail interface. The daemon and web-ui plugin write rotating log files; agent runs persist in the agent_runs table.

Usage#

marketdeck logs <source> [flags]

Sources#

SourceWhat it shows
daemonTail ~/.cache/marketdeck/daemon.log.
webuiTail ~/.cache/marketdeck/webui.log.
agentRecent runs from the agent_runs table.

Flags#

FlagWhat it does
--tail NLast N entries (default 50).
--since DURDrop older than DUR. Accepts 2h, 30m, 1d, 3600s.
--followStream new lines as they arrive (daemon and webui only).
--agent IDScope logs agent to one agent (uuid or name).

Examples#

marketdeck logs daemon --tail 100 --format text
marketdeck logs daemon --follow --since 30m
marketdeck logs webui --tail 50 --format text
marketdeck logs agent --tail 20 --format text
marketdeck logs agent --agent btc-watch --tail 10 --since 1d

Log paths#

PathWritten by
~/.cache/marketdeck/daemon.logmarketdeck daemon (foreground or background).
~/.cache/marketdeck/webui.logThe marketdeck-webui plugin's HTTP server.

agent_runs rows persist indefinitely — drop them via marketdeck prune if needed.