1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

timesyncd: downgrade more log messages from LOG_INFO to LOG_DEBUG

https://bugs.freedesktop.org/show_bug.cgi?id=87505

Let's make timesyncd less chatty.
This commit is contained in:
Lennart Poettering 2015-02-04 17:00:23 +01:00
parent 2c9fc26670
commit 7e3254b3ba

View File

@ -285,7 +285,7 @@ static int manager_clock_watch(sd_event_source *source, int fd, uint32_t revents
}
/* resync */
log_info("System time changed. Resyncing.");
log_debug("System time changed. Resyncing.");
m->poll_resync = true;
return manager_send_request(m);
@ -740,7 +740,7 @@ static int manager_begin(Manager *m) {
m->poll_interval_usec = NTP_POLL_INTERVAL_MIN_SEC * USEC_PER_SEC;
server_address_pretty(m->current_server_address, &pretty);
log_info("Using NTP server %s (%s).", strna(pretty), m->current_server_name->string);
log_debug("Using NTP server %s (%s).", strna(pretty), m->current_server_name->string);
sd_notifyf(false, "STATUS=Using Time Server %s (%s).", strna(pretty), m->current_server_name->string);
r = manager_clock_watch_setup(m);