chiark / gitweb /
timer: downgrade time change message to debug
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 25 Mar 2013 11:31:44 +0000 (12:31 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 25 Mar 2013 11:31:44 +0000 (12:31 +0100)
The manager already prints "Time has been changed" at level info. It
seems too verbose to print the time change message additionally for
every waiting timer unit.

Downgrade the per-unit message to debug.

src/core/timer.c

index fd8e50e..d98468f 100644 (file)
@@ -555,8 +555,8 @@ static void timer_time_change(Unit *u) {
         if (t->state != TIMER_WAITING)
                 return;
 
-        log_info_unit(u->id,
-                      "%s: time change, recalculating next elapse.", u->id);
+        log_debug_unit(u->id,
+                       "%s: time change, recalculating next elapse.", u->id);
         timer_enter_waiting(t, false);
 }