Skip to content

Commit 46ba8c7

Browse files
authored
Update tracing.rs - AWS_LAMBDA_LOG_LEVEL rather than RUST_LOG (#859)
* Update tracing.rs - AWS_LAMBDA_LOG_LEVEL rather than RUST_LOG * Update tracing.rs LEVEL 😅
1 parent a68de58 commit 46ba8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda-runtime-api-client/src/tracing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub use tracing::*;
1616
pub use tracing_subscriber as subscriber;
1717

1818
/// Initialize `tracing-subscriber` with default options.
19-
/// The subscriber uses `RUST_LOG` as the environment variable to determine the log level for your function.
19+
/// The subscriber uses `AWS_LAMBDA_LOG_LEVEL` as the environment variable to determine the log level for your function.
2020
/// It also uses [Lambda's advance logging controls](https://aws.amazon.com/blogs/compute/introducing-advanced-logging-controls-for-aws-lambda-functions/)
2121
/// if they're configured for your function.
2222
/// By default, the log level to emit events is `INFO`.

0 commit comments

Comments
 (0)