summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-25 13:40:17 +0800
committerKay Sievers <kay@vrfy.org>2014-05-25 13:46:43 +0800
commit4d40d39cdf127a83acf80cd0275e36b4a9a2a246 (patch)
tree4147dd89cfcf6b8aaa90a14c077b7b86520e92b4
parente866af3acc30fcd1183a028ea3ef552b7237cc55 (diff)
timesysnc: reword network watching messages, and move resolver errors to debug
-rw-r--r--src/timesync/timesyncd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c
index b28beadd3..a56bbc30c 100644
--- a/src/timesync/timesyncd.c
+++ b/src/timesync/timesyncd.c
@@ -834,7 +834,7 @@ static int manager_resolve_handler(sd_resolve_query *q, int ret, const struct ad
m->resolve_query = sd_resolve_query_unref(m->resolve_query);
if (ret != 0) {
- log_info("Failed to resolve %s: %s", m->current_server_name->string, gai_strerror(ret));
+ log_debug("Failed to resolve %s: %s", m->current_server_name->string, gai_strerror(ret));
/* Try next host */
return manager_connect(m);
@@ -1146,10 +1146,10 @@ static int manager_network_event_handler(sd_event_source *s, int fd, uint32_t re
connected = (m->server_socket != -1);
if (connected && !online) {
- log_info("No network connectivity. Suspending.");
+ log_info("No network connectivity, watching for changes.");
manager_disconnect(m);
} else if (!connected && online) {
- log_info("Network connectivity detected. Resuming.");
+ log_info("Network configuration changed, trying to establish connection.");
if (m->current_server_address) {
r = manager_begin(m);
if (r < 0)