Skip to content

Commit 3f6412c

Browse files
committed
improve doc
1 parent 83233c7 commit 3f6412c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/core/logging.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,9 @@ When debugging in non-production environments, you can instruct the `@Logging` a
752752
}
753753
```
754754

755+
???+ note
756+
If you use this on a RequestStreamHandler, Powertools must duplicate input streams in order to log them.
757+
755758
## Logging handler response
756759

757760
When debugging in non-production environments, you can instruct the `@Logging` annotation to log the response with `logResponse` param or via `POWERTOOLS_LOGGER_LOG_RESPONSE` env var.
@@ -773,6 +776,9 @@ When debugging in non-production environments, you can instruct the `@Logging` a
773776
}
774777
```
775778

779+
???+ note
780+
If you use this on a RequestStreamHandler, Powertools must duplicate output streams in order to log them.
781+
776782
## Logging handler uncaught exception
777783
By default, AWS Lambda logs any uncaught exception that might happen in the handler. However, this log is not structured
778784
and does not contain any additional context. You can instruct the `@Logging` annotation to log this kind of exception

0 commit comments

Comments
 (0)