Decouple log and metrics rate (#1839)

Use separate env for log and metrics rate.

Set default log level to WARN if unset.
This commit is contained in:
Sathish
2018-11-15 22:27:16 -08:00
committed by GitHub
parent 71336965a6
commit c973de1d76
4 changed files with 40 additions and 53 deletions

View File

@ -9,11 +9,9 @@
if [[ -d $SNAP ]]; then # Running inside a Linux Snap?
RUST_LOG="$(snapctl get rust-log)"
SOLANA_DEFAULT_METRICS_RATE="$(snapctl get default-metrics-rate)"
SOLANA_METRICS_CONFIG="$(snapctl get metrics-config)"
export RUST_LOG
export SOLANA_DEFAULT_METRICS_RATE
export SOLANA_METRICS_CONFIG
fi