In general, there are 2 ways to access Actyx logs. You can either use Actyx tools, or you can directly access them on your host.
You can only use the Actyx CLI and Node Manager to access logs once Actyx has successfully started. If you are investigating startup errors, you need to access logs directly from your host.
- Actyx CLI
- Node Manager
ax logs tail command to get the logs of a node:
If you want to specify how many logs
ax logs tail should return, or just want to follow logs as they are created, check our reference documentation for usage examples.
Use bash to automate collection of logs
If you are familiar with bash, you can use it to automate the collection of logs:
As you can see in the above snippet, this will collect all log entries and save them in one file per node.
Check our reference documentation for usage examples.
You can access Actyx logs through the Windows Event Viewer. In the Event Viewer, you can create a custom view filtering for Actyx logs and a log level:
You can then see all Actyx logs in that view:
On Linux and macOS, Actyx automatically outputs logs into your terminal after startup:
To see logs after starting Actyx on Docker in your terminal, you need to set the
ENABLE_DEBUG_LOGS environment variable when running it. Add
-e ENABLE_DEBUG_LOGS=1 to your
docker run command, and you will see logs appearing in your terminal.
In case the Actyx container is running in non-interactive mode the background, use
docker logs -f <container id> to follow the logs as they are written.
In the Status tab of the Node Manager, you can see logs as they are created: