File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/tools/rust-analyzer/crates/rust-analyzer/src/bin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,9 +160,9 @@ fn setup_logging(log_file_flag: Option<PathBuf>) -> anyhow::Result<()> {
160160
161161 rust_analyzer:: tracing:: Config {
162162 writer,
163- // Deliberately enable all `error ` logs if the user has not set RA_LOG, as there is usually
163+ // Deliberately enable all `warn ` logs if the user has not set RA_LOG, as there is usually
164164 // useful information in there for debugging.
165- filter : env:: var ( "RA_LOG" ) . ok ( ) . unwrap_or_else ( || "error " . to_owned ( ) ) ,
165+ filter : env:: var ( "RA_LOG" ) . ok ( ) . unwrap_or_else ( || "warn " . to_owned ( ) ) ,
166166 chalk_filter : env:: var ( "CHALK_DEBUG" ) . ok ( ) ,
167167 profile_filter : env:: var ( "RA_PROFILE" ) . ok ( ) ,
168168 json_profile_filter : std:: env:: var ( "RA_PROFILE_JSON" ) . ok ( ) ,
You can’t perform that action at this time.
0 commit comments