Bug 1242021

Summary: posix : pending - porting log messages to a new framework
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: coreAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED WONTFIX QA Contact: Anoop <annair>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: rhs-bugs
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1252695 (view as bug list) Environment:
Last Closed: 2018-02-06 06:13:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1252695, 1258736    

Description SATHEESARAN 2015-07-10 16:31:54 UTC
Description of problem:
------------------------
There are occurrences of gf_log and gf_log_callingfn under posix.
These instances should be ported to the corresponding gf_msg functions

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHGS 3.1 ( glusterfs-3.7.1-8el6rhs )

Info
-----
gf_log instances
================
[satheesaran@dhcppc1 posix]$ grep -r 'gf_log ' * -A1
src/posix.c: gf_log (this->name, GF_LOG_ERROR,
src/posix.c- "fsetxattr (fstat) failed on fd=%p: %s",

gf_log_callingfn instances
===========================
[satheesaran@dhcppc1 posix]$ grep -r 'gf_log_callingfn ' * -A1
src/posix-helpers.c: callingfn (this->name, GF_LOG_DEBUG, "failed to get gfid");

src/posix.c: gf_log_callingfn (this->name, GF_LOG_ERROR, "Invalid Args: "
src/posix.c-             "fd: %p inode: %p gfid:%s", fd, inode?inode:0,