summaryrefslogtreecommitdiffstats
path: root/booster/src/booster-fd.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-09-24 00:49:46 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-24 01:18:49 -0700
commit41cd359539cf0b59c4435cbecd38b71bab796449 (patch)
tree60510fb25937464183c90a063b4155a108093c0b /booster/src/booster-fd.c
parent03764d0d308b46ebfa53d21df1d49a549c459e64 (diff)
booster: Reduce logging aggressiveness to TRACE
Internal users feel the amount of logging brought in due to a previous logging enhancement patch is a bit too aggressive for DEBUG, so this changes it to TRACE. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 210 (libglusterfsclient: Enhance logging) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=210
Diffstat (limited to 'booster/src/booster-fd.c')
-rw-r--r--booster/src/booster-fd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/booster/src/booster-fd.c b/booster/src/booster-fd.c
index 5e83384ffb8..dbe563a286d 100644
--- a/booster/src/booster-fd.c
+++ b/booster/src/booster-fd.c
@@ -92,7 +92,7 @@ booster_fdtable_expand (booster_fdtable_t *fdtable, uint nr)
memcpy (fdtable->fds, oldfds, cpy);
}
- gf_log ("booster-fd", GF_LOG_DEBUG, "FD-table expanded: Old: %d,New: %d"
+ gf_log ("booster-fd", GF_LOG_TRACE, "FD-table expanded: Old: %d,New: %d"
, oldmax_fds, nr);
ret = 0;
out:
@@ -205,7 +205,7 @@ booster_fd_unused_get (booster_fdtable_t *fdtable, fd_t *fdptr, int fd)
return -1;
}
- gf_log ("booster-fd", GF_LOG_DEBUG, "Requested fd: %d", fd);
+ gf_log ("booster-fd", GF_LOG_TRACE, "Requested fd: %d", fd);
LOCK (&fdtable->lock);
{
while (fdtable->max_fds < fd) {
@@ -243,7 +243,7 @@ booster_fd_put (booster_fdtable_t *fdtable, int fd)
return;
}
- gf_log ("booster-fd", GF_LOG_DEBUG, "FD put: %d", fd);
+ gf_log ("booster-fd", GF_LOG_TRACE, "FD put: %d", fd);
if (!(fd < fdtable->max_fds)) {
gf_log ("booster-fd", GF_LOG_ERROR, "FD not in booster fd"
" table");
@@ -272,7 +272,7 @@ booster_fdptr_get (booster_fdtable_t *fdtable, int fd)
return NULL;
}
- gf_log ("booster-fd", GF_LOG_DEBUG, "FD ptr request: %d", fd);
+ gf_log ("booster-fd", GF_LOG_TRACE, "FD ptr request: %d", fd);
if (!(fd < fdtable->max_fds)) {
gf_log ("booster-fd", GF_LOG_ERROR, "FD not in booster fd"
" table");