[Gluster-devel] Flooding of client logs with JSON fop statistics under DEBUG log-level

Anoop C S anoopcs at redhat.com
Tue Mar 22 10:33:48 UTC 2016


On Sun, 2016-03-20 at 12:42 +0100, Niels de Vos wrote:
> On Fri, Mar 18, 2016 at 03:14:08PM -0400, Jeff Darcy wrote:
> > 
> > > 
> > > Since we have a volume set option(diagnostics.stats-dump-
> > > interval) to
> > > increase/decrease the dump interval can't we make its default
> > > value to 0
> > > which will disable dumping statistics at first place?
> > I don't have a particularly strong opinion on the matter.  My
> > *personal*
> > preference is to disable periodic stats, but I'm a
> > developer.  What's most
> > convenient for me might not be what's best for users/operators.
> We have not broadly advertised this feature. I do not know if it is
> in
> the documentation at all? (Search is broken, so that's difficult to
> check.)
> 
> Disabling by default sounds good to me, users that want to enable it
> can
> then select the right interval for their use-case. Just make sure the
> documentation is updated/added too.

Thanks for your responses. For now I have filed a BZ[1] and have sent a
one liner fix[2] to disable it by default.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1320101
[2] http://review.gluster.org/#/c/13808/

--Anoop C S.


More information about the Gluster-devel mailing list