We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58dbe9 commit 2892815Copy full SHA for 2892815
google/transport/config.go
@@ -1688,10 +1688,9 @@ func (c *Config) LoadAndValidate(ctx context.Context) error {
1688
TimestampFormat: "2006/01/02 15:04:05",
1689
LogFormat: "%time% [%lvl%] %msg% \n",
1690
})
1691
+ logger.SetOutput(log.Writer())
1692
1693
alwaysLoggingDeciderClient := func(ctx context.Context, fullMethodName string) bool { return true }
- grpc_logrus.ReplaceGrpcLogger(logrus.NewEntry(logger))
1694
-
1695
c.gRPCLoggingOptions = append(
1696
c.gRPCLoggingOptions, option.WithGRPCDialOption(grpc.WithUnaryInterceptor(
1697
grpc_logrus.PayloadUnaryClientInterceptor(logrus.NewEntry(logger), alwaysLoggingDeciderClient))),
0 commit comments