Preview features are available for use, but are still under rapid development.
There may be some minor gaps in functionality or documentation.
Your feedback on the enhancements you'd like to see on this feature are especially valuable, please send them through at https://github.com/build-trust/ockam/discussions/new
ockam node logs [NODE_NAME]
This command will return the path to the node's log file. The user can select whether to return the stdout or the stderr log file. The default is to return the stdout log file.
Name of the node to retrieve the logs from
# Return the path to the stdout log file of the default node $ ockam node logs # Return the path to the stderr log file of the given node $ ockam node logs n --err # Pipe the logs to a file into another tool to process it $ cat < $(ockam node logs n)