aboutsummaryrefslogtreecommitdiff
path: root/src/admin/metrics.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-03-28 15:46:52 +0200
committerAlex Auvolat <alex@adnab.me>2022-03-28 15:46:52 +0200
commit42dde541261d7cd16e638915d6c913e4c829128a (patch)
treebe074e49811c020e0817c8b9aa8efc1a41ed0741 /src/admin/metrics.rs
parentdca2ffdf913e168653ba3e44f773cd659ceb356c (diff)
downloadgarage-42dde541261d7cd16e638915d6c913e4c829128a.tar.gz
garage-42dde541261d7cd16e638915d6c913e4c829128a.zip
Log admin GET requests at debug level instead of info
to reduce noise in logs
Diffstat (limited to 'src/admin/metrics.rs')
-rw-r--r--src/admin/metrics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/admin/metrics.rs b/src/admin/metrics.rs
index cbc737d3..7edc36c6 100644
--- a/src/admin/metrics.rs
+++ b/src/admin/metrics.rs
@@ -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);