diff options
author | Kay Sievers <kay@vrfy.org> | 2014-04-29 10:16:07 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-04-29 10:16:07 +0200 |
commit | 39594d49cf22d022bf370d6534c07186e9d8fb8a (patch) | |
tree | ca9c53442dc99e6508a00f51f334c58b8b6e7f92 /src/timesync | |
parent | a91df40e69fec72cc98c9829721fa5153da28bc2 (diff) |
timesyncd: update log message
Diffstat (limited to 'src/timesync')
-rw-r--r-- | src/timesync/timesyncd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c index 6ec8139942..b6e78228bb 100644 --- a/src/timesync/timesyncd.c +++ b/src/timesync/timesyncd.c @@ -627,8 +627,8 @@ static int sntp_receive_response(sd_event_source *source, int fd, uint32_t reven m->samples_jitter, spike ? " spike" : "", m->poll_interval_usec / USEC_PER_SEC); - log_info("poll=%llu s offset=%+f s roundtrip=%f s", - m->poll_interval_usec / USEC_PER_SEC, offset, delay); + log_info("%s: interval/offset/delay/jitter %llu/%+f/%f/%f", + m->server, m->poll_interval_usec / USEC_PER_SEC, offset, delay, m->samples_jitter); if (!spike) { r = sntp_adjust_clock(m, offset, leap_sec); @@ -781,6 +781,9 @@ int main(int argc, char *argv[]) { if (r < 0) goto out; + sd_notifyf(false, + "STATUS=Connected to %s", server); + r = sd_event_loop(m->event); if (r < 0) goto out; |