We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b3956 commit e35c4d3Copy full SHA for e35c4d3
1 file changed
mmv1/third_party/terraform/transport/config.go.tmpl
@@ -564,10 +564,9 @@ func (c *Config) LoadAndValidate(ctx context.Context) error {
564
TimestampFormat: "2006/01/02 15:04:05",
565
LogFormat: "%time% [%lvl%] %msg% \n",
566
})
567
+ logger.SetOutput(log.Writer())
568
569
alwaysLoggingDeciderClient := func(ctx context.Context, fullMethodName string) bool { return true }
- grpc_logrus.ReplaceGrpcLogger(logrus.NewEntry(logger))
570
-
571
c.gRPCLoggingOptions = append(
572
c.gRPCLoggingOptions, option.WithGRPCDialOption(grpc.WithUnaryInterceptor(
573
grpc_logrus.PayloadUnaryClientInterceptor(logrus.NewEntry(logger), alwaysLoggingDeciderClient))),
0 commit comments