[Bugs] [Bug 1368882] New: log level set in glfs_set_logging() does not work

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 22 03:01:23 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1368882

            Bug ID: 1368882
           Summary: log level set in glfs_set_logging() does not work
           Product: GlusterFS
           Version: 3.8.0
         Component: libgfapi
          Assignee: bugs at gluster.org
          Reporter: vbellur at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org



Description of problem:

When a consumer of libgfapi users glfs_set_logging() to set a log level value,
the expectation is that log level for gluster would be set to that value.
However the logs from gluster behave as if they are set to the default loglevel
i.e. GF_LOG_INFO despite the api returning SUCCESS.


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


How reproducible: always



Steps to Reproduce:
1.Alter the gluster log level of a gfapi consumer using glfs_set_logging() to a
value other than GF_LOG_INFO.

2. Observe the logs from gluster

Actual results:

All logs upto level GF_LOG_INFO are seen


Expected results:

Only logs pertaining to the appropriate level should be seen from gluster


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list