Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set CMT_LOG_LEVEL in SystemD service unit #189

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

sigv
Copy link
Contributor

@sigv sigv commented Oct 22, 2023

dcd41bf added instructions for setting up a SystemD service unit. However, they configure a TM_LOG_LEVEL env variable. This does not appear to get the job done.

As per operators/ledger/logging-config.mdx, the CMT_LOG_LEVEL env variable actually controls CometBFT logging verbosity. This PR sets the SystemD unit up with this correct environment variable name.

dcd41bf added instructions for setting
up a SystemD service unit. However, they configure a `TM_LOG_LEVEL` env
variable. This does not appear to get the job done.

As per `operators/ledger/logging-config.mdx`, the `CMT_LOG_LEVEL` env
variable actually controls CometBFT logging verbosity. This commit sets
the SystemD unit up with this correct environment variable name.
@sigv
Copy link
Contributor Author

sigv commented Oct 22, 2023

Looks like a leftover from some Tendermint-based instructions. 🤷🏻

@bengtlofgren
Copy link
Collaborator

Impressive catch! Thank you! <3

@bengtlofgren bengtlofgren merged commit d410102 into anoma:master Oct 23, 2023
2 of 5 checks passed
@sigv sigv deleted the systemd-cmt_log_level branch October 23, 2023 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants