Skip to content

Commit

Permalink
[FAB-3356] flogging verbosity on peer startup
Browse files Browse the repository at this point in the history
When you run the peer in debug (i.e in e2e)
the flogging emits lots of output on peer startup:

DEBU 004 Module 'configtx/tool/localconfig' logger set to 'DEBUG' log level
DEBU 005 Module 'protos' logger set to 'DEBUG' log level
DEBU 006 Module 'ConnProducer' logger set to 'DEBUG' log level

Change-Id: Ic13008179f79ce62f44b9a8d46441d422401fe55
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
  • Loading branch information
yacovm committed Apr 23, 2017
1 parent b9ace28 commit b4c1a0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/flogging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ func GetModuleLevel(module string) string {
// Otherwise, it returns the default logging level, as set by
// `flogging/logging.go`.
level := logging.GetLevel(module).String()
logger.Debugf("Module '%s' logger set to '%s' log level", module, level)
return level
}

Expand Down

0 comments on commit b4c1a0d

Please sign in to comment.