Comment out verbose logging.
This commit is contained in:
parent
1b292b30c9
commit
d0ce89b27c
@ -121,7 +121,8 @@ pub fn run(addr: SocketAddr, root: PathBuf) -> Result<(), Box<dyn Error>> {
|
||||
// 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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user