diff options
author | Nithya Balachandran <nbalacha@redhat.com> | 2014-09-03 10:42:47 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-03 01:41:39 -0700 |
commit | c087e5f634a0b2262118d61ab9c1d5c8e18c8819 (patch) | |
tree | 297fba6eed0fcb92a2b1eead9547452326d8e316 | |
parent | a12cf2dedb98b115812163361846b02f8adc8353 (diff) |
Cluster/DHT: Changing rename log severity
Changing log level for a rename message from debug
to info to improve debuggability
Change-Id: I53031fcf97fffd62095692477330ecde0cf47dcd
BUG: 1130888
Signed-off-by: Nithya Balachandran <nbalacha@redhat.com>
Reviewed-on: http://review.gluster.org/8582
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r-- | xlators/cluster/dht/src/dht-rename.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/xlators/cluster/dht/src/dht-rename.c b/xlators/cluster/dht/src/dht-rename.c index 6587aa89984..eac3975ccbe 100644 --- a/xlators/cluster/dht/src/dht-rename.c +++ b/xlators/cluster/dht/src/dht-rename.c @@ -1337,12 +1337,11 @@ dht_rename (call_frame_t *frame, xlator_t *this, local->dst_hashed = dst_hashed; local->dst_cached = dst_cached; - gf_msg_debug (this->name, 0, - "renaming %s (hash=%s/cache=%s) => %s" - " (hash=%s/cache=%s)", - oldloc->path, src_hashed->name, src_cached->name, - newloc->path, dst_hashed->name, - dst_cached ? dst_cached->name : "<nul>"); + gf_log (this->name, GF_LOG_INFO, + "renaming %s (hash=%s/cache=%s) => %s (hash=%s/cache=%s)", + oldloc->path, src_hashed->name, src_cached->name, + newloc->path, dst_hashed->name, + dst_cached ? dst_cached->name : "<nul>"); if (IA_ISDIR (oldloc->inode->ia_type)) { dht_rename_dir (frame, this); |