How to change log-level on compute nodes in Rust?

Bahador Nooraei is trying to change the log-level on compute nodes in Rust by setting RUST_LOG to WARN, but still getting INFO logs. How can he change the log-level effectively?


Bahador Nooraei

Asked on Jul 27, 2023

  1. Check the configuration file for log level settings.
  2. If log level is not set in the config file, it defaults to INFO and overrides the RUST_LOG environment variable.
  3. Update the log level in the config file to ensure it takes precedence over the RUST_LOG setting.
Jul 27, 2023Edited by