anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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