Logs commands
Use the logs command to view Passport logs, and the logs:clear command to archive and reset them.
You can also see the terminal dashboard, which shows daemon and connection activity live.
passport logs
View Passport logs, merging daemon activity and command activity by time.
Usage
Options
-f, --follow
Keep streaming new lines as they’re written.
-n, --lines <n>
Number of most recent lines to print first.
--level <level>
Only show lines at or above this level. Accepts debug, info, warn, or error.
--json
Emit raw JSON lines instead of formatted text.
--source <source>
Filter by source. Accepts events (daemon lifecycle events), connections (traffic records), or all.
Examples
passport logs:clear
Archive the current logs and start fresh. This rotates and compresses the old logs rather than deleting them.
Usage
Options
--source <source>
Which logs to clear. Accepts events, connections, or all.

