diff --git a/aw-server/src/logging.rs b/aw-server/src/logging.rs index 8ec4568f..eb5fd3b4 100644 --- a/aw-server/src/logging.rs +++ b/aw-server/src/logging.rs @@ -49,6 +49,9 @@ pub fn setup_logger(module: &str, testing: bool, verbose: bool) -> Result<(), fe if !is_debug { dispatch = dispatch .level_for("rocket", log::LevelFilter::Warn) + // rocket_cors has a lot of unhelpful info messages that spam the log on every request + // https://github.com/ActivityWatch/activitywatch/issues/975 + .level_for("rocket_cors", log::LevelFilter::Warn) .level_for("_", log::LevelFilter::Warn) // Rocket requests .level_for("launch_", log::LevelFilter::Warn); // Rocket config info }