From d0ce89b27cb546e7a5c79756ee521f28da17c4af Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sat, 22 Feb 2020 21:36:12 -0800 Subject: [PATCH] Comment out verbose logging. --- src/web.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web.rs b/src/web.rs index fcc7f1e..d5b1302 100644 --- a/src/web.rs +++ b/src/web.rs @@ -121,7 +121,8 @@ pub fn run(addr: SocketAddr, root: PathBuf) -> Result<(), Box> { // Fallback, always keep this last. let api = api.or(index); - let api = api.with(warp::log("photosync")); + //let api = api.with(warp::log("photosync")); + // We don't want metrics & heath checking filling up the logs, so we add this handler after // wrapping with the log filter. let routes = metrics().or(api);