In this guide you will learn how to:
- How to check application logs
- How to change the log level
- How to collect logs
You can check logs by running the following command (more logs
command parameters can be found here):
docker-compose logs -f --tail=100 add_validation_node_custom
By default, LOG_LEVEL debug
is enabled. To change it, please update the corresponding variable in the Network .env file. The following LOG_LEVELS are supported:
- error
- warn
- info
- debug
- trace
In order to collect logs use the following command:
-
Collect application logs: \
docker-compose logs add_validation_node_custom > app_logs.txt
-
Collect system logs: \
dmesg > system_logs.txt