From 11485955083762d1c266dfae728a1abfd27aea63 Mon Sep 17 00:00:00 2001 From: Nithya Balachandran Date: Fri, 5 Sep 2014 10:50:51 -0400 Subject: Cluster/DHT: Changing rename log severity Changing log level for a rename message from debug to info to improve debuggability Change-Id: I53031fcf97fffd62095692477330ecde0cf47dcd BUG: 1138395 Signed-off-by: Nithya Balachandran Reviewed-on-master: http://review.gluster.org/8582 Reviewed-by: Vijay Bellur Tested-by: Gluster Build System Signed-off-by: Shyam Reviewed-on: http://review.gluster.org/8626 --- xlators/cluster/dht/src/dht-rename.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'xlators/cluster/dht') diff --git a/xlators/cluster/dht/src/dht-rename.c b/xlators/cluster/dht/src/dht-rename.c index 9e055930c94..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_trace (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 : ""); + 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 : ""); if (IA_ISDIR (oldloc->inode->ia_type)) { dht_rename_dir (frame, this); -- cgit