<aside> đź’ˇ

This document explains how to set the logging level from the YAML configuration of our nodes.

</aside>


Example YAML

Set “minimum severity” of logging level:

__log__:
    level: "warning"

Set explicitly desired output logs:

__log__ :
    debug : true
    info : false
    notice : false
    warning : true
    error : true

Explanation

When an Exwayz node finds on of the above YAML maps in an input configuration file, it will set the logging level of the node accordingly.

The logging level are ranked in this order

Level debug info notice warning error
Severity 0 1 2 3 4

The user can either