Comment out verbose logging.

This commit is contained in:
Bill Thiede 2020-02-22 21:36:12 -08:00
parent 1b292b30c9
commit d0ce89b27c

View File

@ -121,7 +121,8 @@ pub fn run(addr: SocketAddr, root: PathBuf) -> Result<(), Box<dyn Error>> {
// Fallback, always keep this last. // Fallback, always keep this last.
let api = api.or(index); 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 // We don't want metrics & heath checking filling up the logs, so we add this handler after
// wrapping with the log filter. // wrapping with the log filter.
let routes = metrics().or(api); let routes = metrics().or(api);