anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0619-core-timer-downgrade-message-about-random-time-addit.patch

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