Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (23 loc) · 894 Bytes

node-logs.md

File metadata and controls

36 lines (23 loc) · 894 Bytes

Node logs

In this guide you will learn how to:

  • How to check application logs
  • How to change the log level
  • How to collect logs

Check application 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

Change log level

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:

  1. error
  2. warn
  3. info
  4. debug
  5. trace

Collect logs

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