From fa4c36a9bda6b1bfc5f9279ffcfc8ab8f86a05e3 Mon Sep 17 00:00:00 2001 From: Juliana Fajardini Date: Tue, 5 Dec 2023 10:56:28 -0300 Subject: [PATCH] pgsql: use static str for log & remove whitespaces Removing the white spaces from the password message, as these can cause issues with grepping commands querying log results, and also doesn't show a consistent behavior among different environments. Also replace function call with static str, as it wasn't needed there. --- rust/src/pgsql/logger.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/pgsql/logger.rs b/rust/src/pgsql/logger.rs index 03b1ad0f4677..19120b1d02cf 100644 --- a/rust/src/pgsql/logger.rs +++ b/rust/src/pgsql/logger.rs @@ -79,7 +79,7 @@ fn log_request(req: &PgsqlFEMessage, flags: u32) -> Result