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>
This commit is contained in:
parent
a12cf2dedb
commit
c087e5f634
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user