From 1743b8bad157666ed00c396f8d89af1994956b97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 14 May 2024 16:19:31 +0200 Subject: [PATCH] core/exec-credential: downgrade warning about missing cred to debug Follow-up for 6b34871f5d3b0729ef125d79dfe2d493f3b52b40. The general idea is that the list of credentials to load can and will specify credentials which actually aren't provided, so a warning is too much. Let's downgrade this to "info". If it turns out to be too noisy, we can downgrade further in the future. --- src/core/exec-credential.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/exec-credential.c b/src/core/exec-credential.c index 9c48bd8d0f1..f4cff57848b 100644 --- a/src/core/exec-credential.c +++ b/src/core/exec-credential.c @@ -504,7 +504,7 @@ static int load_credential( * * Also, if the source file doesn't exist, but a fallback is set via SetCredentials= * we are fine, too. */ - log_full_errno(hashmap_contains(context->set_credentials, id) ? LOG_DEBUG : LOG_WARNING, + log_full_errno(hashmap_contains(context->set_credentials, id) ? LOG_DEBUG : LOG_INFO, r, "Couldn't read inherited credential '%s', skipping: %m", path); return 0; } -- 2.47.3