From: Jan Synacek Date: Tue, 4 Aug 2015 13:46:34 +0000 (+0200) Subject: sysctl: bump loglevel when attempting to write invalid values X-Git-Tag: v225~113^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bcfdd74fc414f48a3c12d16c17c3e31102a0f62;p=thirdparty%2Fsystemd.git sysctl: bump loglevel when attempting to write invalid values --- diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index fe277a20151..ee0f57cfecb 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -51,7 +51,7 @@ static int apply_all(Hashmap *sysctl_options) { k = sysctl_write(property, value); if (k < 0) { - log_full_errno(k == -ENOENT ? LOG_DEBUG : LOG_WARNING, k, + log_full_errno(k == -ENOENT ? LOG_INFO : LOG_WARNING, k, "Failed to write '%s' to '%s': %m", value, property); if (r == 0 && k != -ENOENT)