Skip to content

Commit

Permalink
Update tracing.rs - AWS_LAMBDA_LOG_LEVEL rather than RUST_LOG (#859)
Browse files Browse the repository at this point in the history
* Update tracing.rs - AWS_LAMBDA_LOG_LEVEL rather than RUST_LOG

* Update tracing.rs LEVEL πŸ˜…
  • Loading branch information
lmammino authored Apr 12, 2024
1 parent a68de58 commit 46ba8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda-runtime-api-client/src/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub use tracing::*;
pub use tracing_subscriber as subscriber;

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

0 comments on commit 46ba8c7

Please sign in to comment.