File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,20 @@ I tried this code:
54
54
I expected to see this happen: <explanation>
55
55
56
56
Instead, this happened: <explanation>
57
+
58
+ It's also helpful to enable trace logging and include the
59
+ log messages as these will show the actual HTTP requests and
60
+ responses. You can enable this by initializing `tracing-subscriber`
61
+ if you haven't already (e.g., `tracing_subscriber::fmt::init();`),
62
+ and then setting the environment variable `RUST_LOG` before
63
+ running your program, as follows:
64
+
65
+ `RUST_LOG='smithy_http_tower::dispatch=trace,smithy_http::middleware=trace'`
66
+
67
+ For example:
68
+
69
+ `RUST_LOG='smithy_http_tower::dispatch=trace,smithy_http::middleware=trace' cargo run`
70
+
71
+ The SDK redacts sensitive information such as auth headers in these trace logs,
72
+ but please look through them before posting just to be sure.
57
73
-->
You can’t perform that action at this time.
0 commit comments