From 630d46d714a233919664c035f2c5c48c028777e8 Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Fri, 7 Feb 2014 11:02:10 +0530 Subject: logging: Introduce suppression of repetitive log messages Change-Id: I8efa08cc9832ad509fba65a88bb0cddbaf056404 BUG: 1075611 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/7475 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/common-utils.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs/src/common-utils.c') diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c index e63ffa1420a..0ba803dcd80 100644 --- a/libglusterfs/src/common-utils.c +++ b/libglusterfs/src/common-utils.c @@ -488,6 +488,9 @@ gf_print_trace (int32_t signum, glusterfs_ctx_t *ctx) * which helps in debugging. */ gf_log_flush(); + + gf_log_disable_suppression_before_exit (ctx); + /* Pending frames, (if any), list them in order */ gf_msg_plain_nomem (GF_LOG_ALERT, "pending frames:"); { -- cgit