[Bugs] [Bug 1643519] New: Provide an option to silence glfsheal logs
bugzilla at redhat.com
bugzilla at redhat.com
Fri Oct 26 12:43:25 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1643519
Bug ID: 1643519
Summary: Provide an option to silence glfsheal logs
Product: GlusterFS
Version: mainline
Component: replicate
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org
Description of problem:
Many monitoring/reporting solutions run 'gluster volume heal $volname info' and
its related subcommands very frequently (even once every minute), leading to
unnecessary filling up of the glfsheal logs. (See downstream BZs 1579293 and
1631851 for instance). The main intention of running these commands is to
process/consume the output displayed on stdout/xml format and not really the
gluster client logs which glfsheal (which is gfapi based) generates under
/var/log/glusterfs/glfsheal*.
Hence it is useful to have a --nolog option which will prevent the incessant
logging.
Note that these logs are VERY helpful when debugging when heal-info is
unresponsive/hung/disconnected from bricks or when running split-brain
resolution commands. So the default log level is still kept at GF_LOG_INFO and
is changed to GF_LOG_NONE only when the command is invoked with the --nolog
flag.
--
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