summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-21 21:36:27 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-24 21:00:14 +0530
commit53f4af3aad6601ded97b5ef19d2383fe8efa7984 (patch)
treecfaf9b8f1ff6ae339745295426ed0a320a0cdcef /libglusterfs
parent3699c3b966dec936bbbe9ec610d48feb41e0880a (diff)
log message supressing in DNS resolution
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/common-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c
index 301a82879e2..32c15637f03 100644
--- a/libglusterfs/src/common-utils.c
+++ b/libglusterfs/src/common-utils.c
@@ -81,13 +81,13 @@ gf_resolve_ip6 (const char *hostname,
if (cache->first && !cache->next) {
freeaddrinfo(cache->first);
cache->first = cache->next = NULL;
- gf_log ("resolver", GF_LOG_DEBUG,
+ gf_log ("resolver", GF_LOG_TRACE,
"flushing DNS cache");
}
if (!cache->first) {
char *port_str = NULL;
- gf_log ("resolver", GF_LOG_DEBUG,
+ gf_log ("resolver", GF_LOG_TRACE,
"DNS cache not present, freshly probing hostname: %s",
hostname);
@@ -124,7 +124,7 @@ gf_resolve_ip6 (const char *hostname,
goto err;
}
- gf_log ("resolver", GF_LOG_DEBUG,
+ gf_log ("resolver", GF_LOG_TRACE,
"returning ip-%s (port-%s) for hostname: %s and port: %d",
host, service, hostname, port);
@@ -145,7 +145,7 @@ gf_resolve_ip6 (const char *hostname,
goto err;
}
- gf_log ("resolver", GF_LOG_DEBUG,
+ gf_log ("resolver", GF_LOG_TRACE,
"next DNS query will return: ip-%s port-%s", host, service);
}