Bug 1458656

Summary: gluster-blockd: server nodes doesn't log
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: gluster-blockAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: surabhi <sbhaloth>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: rhs-bugs
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-block-0.2.1-1.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-21 04:19:33 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: 1417151    

Description Prasanna Kumar Kalever 2017-06-05 06:40:39 UTC
Description of problem:
The server threads running as part of daemon have no logging, hence currently you can notice only the cli thread (executed by node where cli commands are executed) will only log.

* add logging at server side, about each transaction
* add log-level option, i.e filter log messages based on severity level
* other minor logging improvements which are needed

Comment 7 surabhi 2017-06-19 09:45:31 UTC
Now there are different levels of logs according to severity which can be set using following commands and logs are displayed correctly.

gluster-blockd --log-level ERROR
gluster-blockd --log-level DEBUG

Now the transactions are also logged which was not the case earlier.If there is any further improvement needed in logging will raise another BZ.
Marking the BZ verified.

gluster-block-0.2.1-1.el7rhgs.x86_64

Comment 9 errata-xmlrpc 2017-09-21 04:19:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2773