daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
aed857
From 7adabea503fb86b3b33da17fe65a2b5a246fcac7 Mon Sep 17 00:00:00 2001
aed857
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
aed857
Date: Sun, 5 Feb 2017 03:37:46 -0500
aed857
Subject: [PATCH] core/timer: downgrade message about random time addition
aed857
 (#5229)
aed857
aed857
This seems like something that shouldn't be higher then debug level, even
aed857
if it does not get emitted too often.
aed857
aed857
Fixes #5228.
aed857
aed857
(cherry picked from commit 382852fd581efe3cc0ae11154102ab9f435adea1)
aed857
Resolves: #1587906
aed857
---
aed857
 src/core/timer.c | 2 +-
aed857
 1 file changed, 1 insertion(+), 1 deletion(-)
aed857
aed857
diff --git a/src/core/timer.c b/src/core/timer.c
aed857
index 0a264f60d..d32b007c7 100644
aed857
--- a/src/core/timer.c
aed857
+++ b/src/core/timer.c
aed857
@@ -335,7 +335,7 @@ static void add_random(Timer *t, usec_t *v) {
aed857
         else
aed857
                 *v += add;
aed857
 
aed857
-        log_unit_info(UNIT(t)->id, "Adding %s random time.", format_timespan(s, sizeof(s), add, 0));
aed857
+        log_unit_debug(UNIT(t)->id, "Adding %s random time.", format_timespan(s, sizeof(s), add, 0));
aed857
 }
aed857
 
aed857
 static void timer_enter_waiting(Timer *t, bool initial) {