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 1588828 commit 8dd5797Copy full SHA for 8dd5797
google-beta/transport/config.go
@@ -1800,10 +1800,9 @@ func (c *Config) LoadAndValidate(ctx context.Context) error {
1800
TimestampFormat: "2006/01/02 15:04:05",
1801
LogFormat: "%time% [%lvl%] %msg% \n",
1802
})
1803
+ logger.SetOutput(log.Writer())
1804
1805
alwaysLoggingDeciderClient := func(ctx context.Context, fullMethodName string) bool { return true }
- grpc_logrus.ReplaceGrpcLogger(logrus.NewEntry(logger))
1806
-
1807
c.gRPCLoggingOptions = append(
1808
c.gRPCLoggingOptions, option.WithGRPCDialOption(grpc.WithUnaryInterceptor(
1809
grpc_logrus.PayloadUnaryClientInterceptor(logrus.NewEntry(logger), alwaysLoggingDeciderClient))),
0 commit comments