diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-08-13 02:57:17 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-08-17 14:37:35 -0700 |
commit | 425f895f0f89831221451c5aa8e0a7e31e95f2aa (patch) | |
tree | 54d2a491e3cb868381a20bcc1c8d97e3c78e7d2f | |
parent | e3a4b55920bf6620f5635a6785ae6f2eaf6eba2d (diff) |
libglusterfsclient: Enhance VMP search logging
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
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index 1bf0db705..e0d47d9f3 100755 --- a/libglusterfsclient/src/libglusterfsclient.c +++ b/libglusterfsclient/src/libglusterfsclient.c @@ -1467,10 +1467,11 @@ libgf_vmp_search_exact_entry (char *path) out: if (entry) - gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry found: %s: %s", - path, entry->vmp); + gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry found: path :%s" + " vmp: %s", path, entry->vmp); else - gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry not found"); + gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry not found: path" + ": %s", path); return entry; } @@ -1494,10 +1495,11 @@ libgf_vmp_search_entry (char *path) out: if (entry) - gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry found: %s: %s", - path, entry->vmp); + gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry found: path :%s" + " vmp: %s", path, entry->vmp); else - gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry not found"); + gf_log (LIBGF_XL_NAME, GF_LOG_DEBUG, "VMP Entry not found: path" + ": %s", path); return entry; } |