-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Aleksandr Karbyshev <[email protected]> Co-authored-by: Aleksandr Karbyshev <[email protected]> Co-authored-by: Aleksandr Karbyshev <[email protected]>
- Loading branch information
1 parent
6e0b9d1
commit b2f7483
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"logging-config": "Configuring logging", | ||
"local-network": "Spinning up a local network", | ||
"ibc": "IBC" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# 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 | |