Skip to content

Commit

Permalink
Merge pull request #447 from Automattic/reduce-error-logs
Browse files Browse the repository at this point in the history
Clean Up `harper-ls` logs
  • Loading branch information
elijah-potter authored Jan 21, 2025
2 parents 4d8b80e + 6881cf2 commit 1717342
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion harper-ls/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ struct Args {
async fn main() -> anyhow::Result<()> {
let subscriber = FmtSubscriber::builder()
.map_writer(move |_| stderr)
.with_max_level(Level::INFO)
.with_ansi(false)
.with_max_level(Level::WARN)
.finish();

tracing::subscriber::set_global_default(subscriber)?;
Expand Down

0 comments on commit 1717342

Please sign in to comment.