Skip to content

Commit 1743b8b

Browse files
committed
core/exec-credential: downgrade warning about missing cred to debug
Follow-up for 6b34871. 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.
1 parent 93df521 commit 1743b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/exec-credential.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ static int load_credential(
504504
*
505505
* Also, if the source file doesn't exist, but a fallback is set via SetCredentials=
506506
* we are fine, too. */
507-
log_full_errno(hashmap_contains(context->set_credentials, id) ? LOG_DEBUG : LOG_WARNING,
507+
log_full_errno(hashmap_contains(context->set_credentials, id) ? LOG_DEBUG : LOG_INFO,
508508
r, "Couldn't read inherited credential '%s', skipping: %m", path);
509509
return 0;
510510
}

0 commit comments

Comments
 (0)