1
0
Fork 0
forked from Deuxfleurs/garage

Log admin GET requests at debug level instead of info

to reduce noise in logs
This commit is contained in:
Alex 2022-03-28 15:46:52 +02:00
parent dca2ffdf91
commit 42dde54126
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -28,7 +28,7 @@ async fn serve_req(
req: Request<Body>,
admin_server: Arc<AdminServer>,
) -> Result<Response<Body>, hyper::Error> {
info!("Receiving request at path {}", req.uri());
debug!("Receiving request at path {}", req.uri());
let request_start = SystemTime::now();
admin_server.metrics.http_counter.add(1);