Bug 966851 - Excessive logging in Debug mode for mem_get
Summary: Excessive logging in Debug mode for mem_get
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: logging
Version: pre-release
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: vsomyaju
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-24 06:35 UTC by vsomyaju
Modified: 2015-03-05 00:06 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 18:00:16 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description vsomyaju 2013-05-24 06:35:23 UTC
Description of problem:
Excessive logging in Debug Mode for mem_get.

Version-Release number of selected component (if applicable):


How reproducible:
For debug log level, excessive logging is taking place by mem_get function.

Steps to Reproduce:
1. Create dis-rep volume.
2. Perform file operations.
3.

Actual results:
mem_get is doing excessive logging.

Expected results:
It should avoid excessive logging.


Additional info:

Comment 1 Anand Avati 2013-05-24 07:24:14 UTC
REVIEW: http://review.gluster.org/5086 (loggig: Fix to avoid excessive logging.) posted (#1) for review on master by venkatesh somyajulu (vsomyaju)

Comment 2 Anand Avati 2013-05-24 07:30:54 UTC
REVIEW: http://review.gluster.org/5086 (logging: Fix to avoid excessive logging.) posted (#2) for review on master by venkatesh somyajulu (vsomyaju)

Comment 3 Anand Avati 2013-05-24 07:39:18 UTC
REVIEW: http://review.gluster.org/5086 (logging: Fix to avoid excessive logging.) posted (#3) for review on master by venkatesh somyajulu (vsomyaju)

Comment 4 Anand Avati 2013-05-24 07:40:45 UTC
REVIEW: http://review.gluster.org/5086 (logging: Fix to avoid excessive logging.) posted (#4) for review on master by venkatesh somyajulu (vsomyaju)

Comment 5 Anand Avati 2013-05-28 08:25:23 UTC
COMMIT: http://review.gluster.org/5086 committed in master by Vijay Bellur (vbellur) 
------
commit 84e966cc8b6ae06699f8a57bc33d509b30ff777b
Author: Venkatesh Somyajulu <vsomyaju>
Date:   Fri May 24 12:57:19 2013 +0530

    logging: Fix to avoid excessive logging.
    
    mem_get function: Log message related to mem_pool
    calloc is removed  as its been calculated in mempool
    'stats'.  This messgae is consuming nearly half of
    the total log messages in DEBUG mode.
    
    dht_hash_compute function: Changed log level from DEBUG
    to TRACE.
    
    client_fdctx_destroy function: Changed log  level from DEBUG
    to TRACE.
    
    Change-Id: Ic948db0419e76df4e95ebd0cabaf66eadbaada6b
    BUG: 966851
    Signed-off-by: Venkatesh Somyajulu <vsomyaju>
    Reviewed-on: http://review.gluster.org/5086
    Reviewed-by: Amar Tumballi <amarts>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>


Note You need to log in before you can comment on or make changes to this bug.