diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-08-13 02:56:17 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-08-17 14:37:51 -0700 |
commit | b27a4334b5926266ea2a87116010a6b510f1f029 (patch) | |
tree | 650619adbcbbc31237701a07fd210a1c664744d9 /libglusterfsclient | |
parent | 467d87898ae1cb34ba8f35819097fe8a76aa36c7 (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
Diffstat (limited to 'libglusterfsclient')
-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 b538b349002..c690bbba418 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; } |