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#
| Source | What it shows |
|---|---|
daemon | Tail ~/.cache/marketdeck/daemon.log. |
webui | Tail ~/.cache/marketdeck/webui.log. |
agent | Recent runs from the agent_runs table. |
Flags#
| Flag | What it does |
|---|---|
--tail N | Last N entries (default 50). |
--since DUR | Drop older than DUR. Accepts 2h, 30m, 1d, 3600s. |
--follow | Stream new lines as they arrive (daemon and webui only). |
--agent ID | Scope 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#
| Path | Written by |
|---|---|
~/.cache/marketdeck/daemon.log | marketdeck daemon (foreground or background). |
~/.cache/marketdeck/webui.log | The marketdeck-webui plugin's HTTP server. |
agent_runs rows persist indefinitely — drop them via marketdeck prune if needed.