summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2012-07-18 13:55:39 -0400
committerAnand Avati <avati@redhat.com>2012-07-18 11:09:32 -0700
commit162505c019934c13aadf63ed82d4532d5cf5ca82 (patch)
treef17fee308ebbf56a0178d95dc00f3f4e2074b4eb /libglusterfs
parentc1fe8b7fd74eb6cc0d84fdb4811ab9d027539f62 (diff)
libglusterfs: remove debug log messages from gidcache
The debug log messages for every cache lookup/add pollute the debug output. BUG: 800892 Change-Id: I6b75fd5b7005b8c007106347de8827a0d6c2fd03 Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-on: http://review.gluster.com/3692 Reviewed-by: Anand Avati <avati@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/gidcache.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libglusterfs/src/gidcache.c b/libglusterfs/src/gidcache.c
index 9e508536d7e..c55ed2581ba 100644
--- a/libglusterfs/src/gidcache.c
+++ b/libglusterfs/src/gidcache.c
@@ -63,8 +63,6 @@ const gid_list_t *gid_cache_lookup(gid_cache_t *cache, uint64_t id)
* that they're not used.
*/
if (now < agl->gl_deadline) {
- gf_log("gid-cache", GF_LOG_DEBUG, "id %lu gl found - "
- "bucket %d, index %d", id, bucket, i);
return agl;
}
@@ -173,8 +171,6 @@ int gid_cache_add(gid_cache_t *cache, gid_list_t *gl)
agl->gl_list = gl->gl_list;
agl->gl_deadline = now + cache->gc_max_age;
- gf_log("gid-cache", GF_LOG_DEBUG, "id %lu gl added - bucket %d, index %d",
- gl->gl_id, bucket, i);
UNLOCK(&cache->gc_lock);
return 1;