Skip to content

Commit 839285e

Browse files
committed
[FAB-3957] /examples/cluster: Reduce logging chatter
Defaults are still very chatty. This patch tunes everything down to WARNING and explicitly sets some components that were missing. Fixes FAB-3957 Change-Id: I9194e433fdcc7cdfe8bc5f6accb00ee7abeb143d Signed-off-by: Greg Haskins <[email protected]>
1 parent 5c353eb commit 839285e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

examples/cluster/compose/peer-base/peer-base.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
dns_search: .
66
environment:
77
- CORE_PEER_TLS_ENABLED=${TLS_ENABLED}
8-
- CORE_LOGGING_LEVEL=DEBUG
8+
- CORE_LOGGING_LEVEL=WARNING
99
- CORE_NEXT=true
1010
- CORE_PEER_ENDORSER_ENABLED=true
1111
- CORE_PEER_GOSSIP_BOOTSTRAP=peer1:7051

examples/cluster/config/core.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ logging:
3737
error: warning
3838
msp: warning
3939
gossip: warning
40+
grpc: warning
41+
ledger: warning
42+
policies: warning
43+
cauthdsl: warning
4044

4145
format: '%{color}%{time:2006-01-02 15:04:05.000 MST} [%{module}] %{shortfunc} -> %{level:.4s} %{id:03x}%{color:reset} %{message}'
4246

0 commit comments

Comments
 (0)