serverless-java-container icon indicating copy to clipboard operation
serverless-java-container copied to clipboard

Superseded Symphonia Lambda-Logging con Lambda Powertools

Open ccolon11 opened this issue 2 years ago • 2 comments

*Issue: #496 *Description of changes: Replace Symphonia Lambda-Logging with Lambda Powertools, the corresponding Symphonia Lambda-Logging dependencies were removed and in the same way log4j2.xml was made the necessary modifications, both in a previous merge in the main branch

By submitting this pull request

  • [X ] I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • [X ] I confirm that I've made a best effort attempt to update all relevant documentation.

ccolon11 avatar May 05 '23 01:05 ccolon11

I don't problem in making it. can @deki indicate me exactly, ¿what ought making in log4j2.xml files? for not to make errors, only there is to replace the corresponding code lines for that appearing in the follow link: https://awslabs.github.io/aws-lambda-powertools-java/core/logging/

ccolon11 avatar May 06 '23 14:05 ccolon11

Hi, with the current change no powertools features are used so it would be even enough to use https://github.com/aws/aws-lambda-java-libs/tree/main/aws-lambda-java-log4j2.

I'd check the log output before and after the change. Goal is to provide a meaningful example that shows at least the Lambda Request ID as part of the log output and demonstrates 1-2 powertools features.

deki avatar May 08 '23 07:05 deki