diff --git a/README.md b/README.md index e9ca0d87c..da0c3dd68 100644 --- a/README.md +++ b/README.md @@ -67,27 +67,9 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd ``` **Note:** If you are working with Lambda on runtime post java8, please refer [issue](https://github.com/awslabs/aws-lambda-powertools-java/issues/50) for workaround -### Logging Configuration -Powertools extends the functionality of Log4J. Below is an example `log4j2.xml` file, with the `LambdaJsonLayout` configured. +## Example -```xml - - - - - - - - - - - - - - - - -``` +See **[example](./example/README.md)** of all features, and a SAM template with all Powertools env vars. ## Credits diff --git a/example/template.yaml b/example/template.yaml index 6609edc16..32f6461e9 100644 --- a/example/template.yaml +++ b/example/template.yaml @@ -21,6 +21,7 @@ Resources: Environment: # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object Variables: POWERTOOLS_SERVICE_NAME: "Payment Service" + LOG_LEVEL: INFO Tracing: Active Events: HelloWorld: