From a80c1575065c3e3cbf97fd97993ff98598fa01bb Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 18 Dec 2016 07:21:19 -0500 Subject: core: downgrade "Time has been changed" to debug (#4906) That message is emitted by every systemd instance on every resume: Dec 06 08:03:38 laptop systemd[1]: Time has been changed Dec 06 08:03:38 laptop systemd[823]: Time has been changed Dec 06 08:03:38 laptop systemd[916]: Time has been changed Dec 07 08:00:32 laptop systemd[1]: Time has been changed Dec 07 08:00:32 laptop systemd[823]: Time has been changed Dec 07 08:00:32 laptop systemd[916]: Time has been changed -- Reboot -- Dec 07 08:02:46 laptop systemd[836]: Time has been changed Dec 07 08:02:46 laptop systemd[1]: Time has been changed Dec 07 08:02:46 laptop systemd[926]: Time has been changed Dec 07 19:48:12 laptop systemd[1]: Time has been changed Dec 07 19:48:12 laptop systemd[836]: Time has been changed Dec 07 19:48:12 laptop systemd[926]: Time has been changed ... Fixes #4896. --- src/core/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c index 1192b20b74..d83c5ef5e2 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -2165,7 +2165,7 @@ static int manager_dispatch_time_change_fd(sd_event_source *source, int fd, uint assert(m); assert(m->time_change_fd == fd); - log_struct(LOG_INFO, + log_struct(LOG_DEBUG, LOG_MESSAGE_ID(SD_MESSAGE_TIME_CHANGE), LOG_MESSAGE("Time has been changed"), NULL); -- cgit v1.2.3-54-g00ecf