Skip to content

Commit 8271d09

Browse files
committed
uncomment logging context that was causing issues while prototyping earlier...
1 parent 15ff4b0 commit 8271d09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tfprotov5/tf5server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func (s *server) stoppableContext(ctx context.Context) context.Context {
456456
// terraform-plugin-log loggers injected.
457457
func (s *server) loggingContext(ctx context.Context) context.Context {
458458
if s.useTFLogSink {
459-
//ctx = tfsdklog.ContextWithStandardLogging(ctx, s.testHandle.Name())
459+
ctx = tfsdklog.ContextWithTestLogging(ctx, s.testHandle.Name())
460460
}
461461

462462
ctx = logging.InitContext(ctx, s.tflogSDKOpts, s.tflogOpts)

tfprotov6/tf6server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func (s *server) stoppableContext(ctx context.Context) context.Context {
456456
// terraform-plugin-log loggers injected.
457457
func (s *server) loggingContext(ctx context.Context) context.Context {
458458
if s.useTFLogSink {
459-
//ctx = tfsdklog.ContextWithStandardLogging(ctx, s.testHandle.Name())
459+
ctx = tfsdklog.ContextWithTestLogging(ctx, s.testHandle.Name())
460460
}
461461

462462
ctx = logging.InitContext(ctx, s.tflogSDKOpts, s.tflogOpts)

0 commit comments

Comments
 (0)