chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a7e3212
)
timer: downgrade time change message to debug
author
Michal Schmidt
<mschmidt@redhat.com>
Mon, 25 Mar 2013 11:31:44 +0000
(12:31 +0100)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/src/core/timer.c
b/src/core/timer.c
index fd8e50e71c5eeeecf88ff7c4fcd9f83e709ab519..d98468fd9ea49f6c2cba6414914120ae38e0097c 100644
(file)
--- a/
src/core/timer.c
+++ b/
src/core/timer.c
@@
-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);
}