mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-30 23:27:24 +00:00
Merge pull request #20399 from rust-lang/veykril/push-klrwvmzokqwu
Some checks are pending
metrics / build_metrics (push) Waiting to run
metrics / other_metrics (diesel-1.4.8) (push) Blocked by required conditions
metrics / other_metrics (hyper-0.14.18) (push) Blocked by required conditions
metrics / other_metrics (ripgrep-13.0.0) (push) Blocked by required conditions
metrics / other_metrics (self) (push) Blocked by required conditions
metrics / other_metrics (webrender-2022) (push) Blocked by required conditions
metrics / generate_final_metrics (push) Blocked by required conditions
rustdoc / rustdoc (push) Waiting to run
Some checks are pending
metrics / build_metrics (push) Waiting to run
metrics / other_metrics (diesel-1.4.8) (push) Blocked by required conditions
metrics / other_metrics (hyper-0.14.18) (push) Blocked by required conditions
metrics / other_metrics (ripgrep-13.0.0) (push) Blocked by required conditions
metrics / other_metrics (self) (push) Blocked by required conditions
metrics / other_metrics (webrender-2022) (push) Blocked by required conditions
metrics / generate_final_metrics (push) Blocked by required conditions
rustdoc / rustdoc (push) Waiting to run
Enable warning logs by default
This commit is contained in:
commit
12604577dd
1 changed files with 2 additions and 2 deletions
|
@ -160,9 +160,9 @@ fn setup_logging(log_file_flag: Option<PathBuf>) -> anyhow::Result<()> {
|
|||
|
||||
rust_analyzer::tracing::Config {
|
||||
writer,
|
||||
// Deliberately enable all `error` logs if the user has not set RA_LOG, as there is usually
|
||||
// Deliberately enable all `warn` logs if the user has not set RA_LOG, as there is usually
|
||||
// useful information in there for debugging.
|
||||
filter: env::var("RA_LOG").ok().unwrap_or_else(|| "error".to_owned()),
|
||||
filter: env::var("RA_LOG").ok().unwrap_or_else(|| "warn".to_owned()),
|
||||
chalk_filter: env::var("CHALK_DEBUG").ok(),
|
||||
profile_filter: env::var("RA_PROFILE").ok(),
|
||||
json_profile_filter: std::env::var("RA_PROFILE_JSON").ok(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue