Configuring Logging on Namada
The logging of the ledger can be configured by setting the following environment variables. Default values are in bold.
| Variable | Values | Description | 
|---|---|---|
NAMADA_LOG | info, debug, warn, error | Logging verbosity | 
NAMADA_LOG_COLOR | true, false | Switch colors on / off | 
NAMADA_LOG_DIR | If set, the logs will be written to files in the specified directory. The log files will be named namada.log and namada.err.log and compressed using gzip. | |
NAMADA_LOG_FMT | full, json, pretty | Logging format | 
NAMADA_LOG_ROLLING | never, minutely, hourly, daily | Rolling logs frequency | 
NAMADA_CMT_STDOUT | true, false | Print all the CometBFT logs to stdout. (This information may be valuable to validators.) | 
CMT_LOG_LEVEL | info, debug, warn, error | CometBFT logs verbosity |