[Bugs] [Bug 1654236] New: Provide an option to silence glfsheal logs
bugzilla at redhat.com
bugzilla at redhat.com
Wed Nov 28 10:14:18 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1654236
Bug ID: 1654236
Summary: Provide an option to silence glfsheal logs
Product: GlusterFS
Version: 5
Component: replicate
Keywords: Triaged
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org
Depends On: 1643519
Blocks: 1654229
External Bug ID: Gluster.org Gerrit 21501
+++ This bug was initially created as a clone of Bug #1643519 +++
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.
--- Additional comment from Worker Ant on 2018-10-26 08:46:03 EDT ---
REVIEW: https://review.gluster.org/21501 (glfsheal: add a '--nolog' option)
posted (#1) for review on master by Ravishankar N
--- Additional comment from Worker Ant on 2018-11-26 03:36:51 EST ---
REVIEW: https://review.gluster.org/21501 (glfsheal: add a '--nolog' flag)
posted (#5) for review on master by Pranith Kumar Karampuri
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1643519
[Bug 1643519] Provide an option to silence glfsheal logs
https://bugzilla.redhat.com/show_bug.cgi?id=1654229
[Bug 1654229] Provide an option to silence glfsheal logs
--
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