Collects, streams, and exports logs from dala Elixir cluster nodes.
Examples
# Stream all logs in real-time
mix dala.logs
# Stream logs from a specific node
mix dala.logs --node dala_qa@192.168.1.5
# Filter by log level
mix dala.logs --level error
# Save logs to file
mix dala.logs --save logs.jsonl --format jsonl
# Show last N entries
mix dala.logs --last 100Options
--node- Node to collect logs from (can be repeated)--level- Minimum log level (error, warning, info, debug)--save- Save logs to file--format- Output format (text, jsonl, csv)--last- Number of recent entries to show--follow- Follow mode (stream continuously, like tail -f)
Formats
text- Human-readable text (default)jsonl- JSON Lines format (one JSON object per line)csv- CSV format with headers