From 5185a147dbd218d48f65d032a7fb16617e889dc3 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov <ivadmi5@gmail.com> Date: Thu, 26 Sep 2024 20:28:17 +0300 Subject: [PATCH] chore(pgproto): log "recognized well known query" in debug level --- src/pgproto/backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pgproto/backend.rs b/src/pgproto/backend.rs index ba4367e379..ca94309b87 100644 --- a/src/pgproto/backend.rs +++ b/src/pgproto/backend.rs @@ -304,7 +304,7 @@ impl Backend { // from PostgreSQL that our SQL doesn't support. Recognizing these common queries // allows us to offer useful features like tab-completion. if let Some(query) = well_known_queries::parse(sql) { - tlog!(Info, "recognized well known query: {query:?}"); + tlog!(Debug, "recognized well known query: {query:?}"); // sudo helps to avoid read access to system tables is denied error. if let Ok(Ok(result)) = with_su(ADMIN_ID, || { self.execute_query(&query.sql(), query.parameters()) -- GitLab