ax logs tail

Get logs from a node

ax logs tail [FLAGS] [OPTIONS] <NODE>
--all-entries Get all log entries (overrides --entries)
-f, --follow Keep running and output entries as they are created
-h, --help Prints help information
-l, --local Process over local network
-V, --version Prints version information
-v Verbosity level. Add more v for higher verbosity
(-v, -vv, -vvv, etc.)
-n, --entries <entries> Output the last <entries> entries [default: 20]
<NODE> Node ID or, if using `--local`, the IP address of the node to
perform the operation on

Please see the following usage examples for the ax logs tail command:

# Get the last 40 log entries from node at
ax logs tail --local -n 40
# Get the logs in structured JSON format
ax --json logs tail --local
# Keep running and output log entries as they are created
ax logs tail --local --follow