about summary refs log tree commit diff
path: root/src/nm-policy-hosts.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-10-26 21:33:05 +0200
committerMichael Biebl <biebl@debian.org>2012-10-26 21:33:05 +0200
commit3e08ba570f7e146b67c0f9dfd17dc04987ebac18 (patch)
treeec993cb408a2edb4bb48ce86db4eaca09def6260 /src/nm-policy-hosts.c
parent74d97e718091bb137b480fb31d740fe20677812b (diff)
parent36cb2f364a821e1be50b23e03a18891ec55adb06 (diff)
Merge tag 'upstream/0.9.6.4' into experimental
Upstream version 0.9.6.4
Diffstat (limited to 'src/nm-policy-hosts.c')
-rw-r--r--src/nm-policy-hosts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nm-policy-hosts.c b/src/nm-policy-hosts.c
index 8bbd1d3b..94eeac4f 100644
--- a/src/nm-policy-hosts.c
+++ b/src/nm-policy-hosts.c
@@ -67,16 +67,16 @@ nm_policy_hosts_clean_etc_hosts (void)
 	GString *new;
 
 	if (!g_file_get_contents (SYSCONFDIR "/hosts", &contents, &contents_len, &error)) {
-		nm_log_warn (LOGD_DNS, "couldn't read " SYSCONFDIR "/hosts: (%d) %s",
-		             error ? error->code : 0,
-		             (error && error->message) ? error->message : "(unknown)");
+		nm_log_dbg (LOGD_DNS, "couldn't read " SYSCONFDIR "/hosts: (%d) %s",
+		            error ? error->code : 0,
+		            (error && error->message) ? error->message : "(unknown)");
 		g_clear_error (&error);
 		return;
 	}
 
 	new = nm_policy_get_etc_hosts (contents, contents_len);
 	if (new && new->len) {
-		nm_log_info (LOGD_DNS, "Cleaning leftovers from /etc/hosts");
+		nm_log_dbg (LOGD_DNS, "Cleaning leftovers from /etc/hosts");
 
 		g_clear_error (&error);
 		if (!g_file_set_contents (SYSCONFDIR "/hosts", new->str, -1, &error)) {