Skip to content

Commit

Permalink
Merge pull request #371 from KomodoPlatform/add/custom-logging
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharang authored Nov 17, 2024
2 parents 9867dbc + d9acf66 commit 2d36582
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ The structure for adding additional coins can vary, please refer to the [listing

### Optional environment variables:

| Variable | Type | Description |
| ------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MM2\_CONF\_PATH | string | A file path to load the `MM2.json` configuration file. Defaults to `MM2.json` in the same folder as the `mm2` binary. |
| MM\_COINS\_PATH | string | A file path to load the `coins` configuration file. A comprehensive version for public use is maintained in the [Komodo Platform coins github repository](https://github.com/KomodoPlatform/coins/blob/master/coins) |
| MM\_LOG | string | A file path to store the Komodo DeFi-API logs. |
| USERPASS | string | For convenience, this variable can store the value of your `rpc_password` to be referenced in any shell scripts |
| MM\_CERT\_PATH | string | Full path to TLS/SSL certificate file. |
| MM\_CERT\_KEY\_PATH | string | Full path to TLS/SSL certificate key file. |
| Variable | Type | Description |
| ------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MM2\_CONF\_PATH | string | A file path to load the `MM2.json` configuration file. Defaults to `MM2.json` in the same folder as the `mm2` binary. |
| MM\_COINS\_PATH | string | A file path to load the `coins` configuration file. A comprehensive version for public use is maintained in the [Komodo Platform coins github repository](https://github.com/KomodoPlatform/coins/blob/master/coins) |
| MM\_LOG | string | A file path to store the Komodo DeFi-API logs. |
| MM\_CERT\_PATH | string | Full path to TLS/SSL certificate file. |
| MM\_CERT\_KEY\_PATH | string | Full path to TLS/SSL certificate key file. |
| RUST\_LOG | string | Global default log level is `info`. To modify the log level for specific module (e.g. for debugging `atomicdex_gossipsub::behaviour`) and keep the default at `info`, use the format `"info,atomicdex_gossipsub::behaviour=debug"` |

### What now?

Expand Down

0 comments on commit 2d36582

Please sign in to comment.