Skip to content

Commit cda20c7

Browse files
committed
fix example
1 parent 44a2bd2 commit cda20c7

File tree

1 file changed

+1
-1
lines changed
  • examples/powertools-examples-core-utilities/sam/src/main/java/helloworld

1 file changed

+1
-1
lines changed

examples/powertools-examples-core-utilities/sam/src/main/java/helloworld/App.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public APIGatewayProxyResponseEvent handleRequest(final APIGatewayProxyRequestEv
6767

6868
metricsLogger().putMetric("CustomMetric3", 1, Unit.COUNT, StorageResolution.HIGH);
6969

70-
LoggingUtils.appendKey("test", "willBeLogged");
70+
MDC.put("test", "willBeLogged");
7171

7272
APIGatewayProxyResponseEvent response = new APIGatewayProxyResponseEvent()
7373
.withHeaders(headers);

0 commit comments

Comments
 (0)