Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Removes extremely verbose debug log line from tribe.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Weaver committed Nov 22, 2016
1 parent 8c86419 commit 73c8f5c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mgmt/tribe/tribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,12 @@ func (t *tribe) canJoinAgreement(agreementName, memberName string) serror.SnapEr

}
if m.PluginAgreement != nil && len(m.PluginAgreement.Plugins) > 0 {
t.logger.WithFields(fields).Debugln(errAlreadyMemberOfPluginAgreement)
// This log line creates an extremely large amount of logging
// under debug. This was tested at 18GB for a 50 node tribe on
// one node that had debug turned on.
//
// Uncomment this line if debugging tribe.
// t.logger.WithFields(fields).Debugln(errAlreadyMemberOfPluginAgreement)
return serror.New(errAlreadyMemberOfPluginAgreement, fields)
}
return nil
Expand Down

0 comments on commit 73c8f5c

Please sign in to comment.