CLI
logs
Read the daemon log for a tunnel.
tunnelctl logs shows the log file written by a tunnel's daemon — useful for diagnosing a
tunnel that's Reconnecting or Fatal.
tunnelctl logs <slug> [flags]Examples
tunnelctl logs myapp # last 100 lines (default)
tunnelctl logs myapp -n 50 # last 50 lines
tunnelctl logs myapp -n 0 # the entire log
tunnelctl logs myapp -f # stream new lines as they arriveFlags
| Flag | Default | Description |
|---|---|---|
-n, --tail <n> | 100 | Number of lines to show; 0 means the whole file. |
-f, --follow | off | Stream new log lines as they're written. |
The underlying file lives at ~/.local/state/tunnelctl/<slug>.log (path varies by
platform — see the CLI overview).