teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0031-sysctl-downgrade-message-about-sysctl-overrides-to-d.patch

923a60
From 24e82cb7aa809bb8d50f40957cfed51dc48e0d72 Mon Sep 17 00:00:00 2001
923a60
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
923a60
Date: Thu, 26 Feb 2015 19:00:11 -0500
923a60
Subject: [PATCH] sysctl: downgrade message about sysctl overrides to debug
923a60
923a60
Printing it at info level was tedious. We don't do that for any other
923a60
overrides.
923a60
923a60
(cherry picked from commit 7933e4266f8124e3fca71f67757abd44155fa1cb)
923a60
---
923a60
 src/sysctl/sysctl.c | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c
923a60
index d007c932c6..b6945eda54 100644
923a60
--- a/src/sysctl/sysctl.c
923a60
+++ b/src/sysctl/sysctl.c
923a60
@@ -176,7 +176,7 @@ found:
923a60
                         if (streq(value, existing))
923a60
                                 continue;
923a60
 
923a60
-                        log_info("Overwriting earlier assignment of %s in file '%s'.", p, path);
923a60
+                        log_debug("Overwriting earlier assignment of %s in file '%s'.", p, path);
923a60
                         free(hashmap_remove(sysctl_options, p));
923a60
                         free(v);
923a60
                 }