Bug 889157 - gf_log() not flushing logs properly.
Summary: gf_log() not flushing logs properly.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: logging
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-20 11:12 UTC by Avra Sengupta
Modified: 2014-06-13 16:58 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description Avra Sengupta 2012-12-20 11:12:22 UTC
Description of problem:
While logging to the log file, the gf_log() api does not flush logs properly, hence there is inconsistency in logging.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Vijay Bellur 2012-12-21 11:49:01 UTC
CHANGE: http://review.gluster.org/4344 (logging: Added fflush in _gf_log.) merged in master by Vijay Bellur (vbellur)

Comment 3 Anand Avati 2014-06-13 07:00:43 UTC
REVIEW: http://review.gluster.org/8058 (logging: Flush log messages logged via gf_log_callingfn()) posted (#1) for review on master by Krutika Dhananjay (kdhananj)

Comment 4 Anand Avati 2014-06-13 10:25:59 UTC
REVIEW: http://review.gluster.org/8058 (logging: Flush log messages logged via gf_log_callingfn()) posted (#2) for review on master by Krutika Dhananjay (kdhananj)

Comment 5 Anand Avati 2014-06-13 16:58:36 UTC
COMMIT: http://review.gluster.org/8058 committed in master by Vijay Bellur (vbellur) 
------
commit 85055f8a909ed0c5ebb20dd2c1ed34e610c987fe
Author: Krutika Dhananjay <kdhananj>
Date:   Fri Jun 13 12:01:34 2014 +0530

    logging: Flush log messages logged via gf_log_callingfn()
    
    Change-Id: Id1d83a6c5985dd57ef3cf1e3d2f4d04ff2dbabfa
    BUG: 889157
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/8058
    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.