mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdmain: fix log output
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
03bf62f569
commit
12e2d4a15c
@ -158,6 +158,9 @@ func startGRPCProxy(cmd *cobra.Command, args []string) {
|
||||
},
|
||||
Encoding: "json",
|
||||
EncoderConfig: zap.NewProductionEncoderConfig(),
|
||||
|
||||
OutputPaths: []string{"stderr"},
|
||||
ErrorOutputPaths: []string{"stderr"},
|
||||
}
|
||||
if grpcProxyDebug {
|
||||
lcfg.Level = zap.NewAtomicLevelAt(zap.DebugLevel)
|
||||
|
Loading…
x
Reference in New Issue
Block a user