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 fd8e50e71c5eeeecf88ff7c4fcd9f83e709ab519..d98468fd9ea49f6c2cba6414914120ae38e0097c 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);
 }