Structured JSON logging in AWS Lambda with Kotlin and Log4j2
This post was published 2 years ago so it might be outdated.
JVM ecosystem has a steep learning curve: missing a Maven/Gradle dependency might end up being a cryptic runtime exception about a package that is partially referenced in an XML file. I experienced this recently at work, trying to set up Log4j2 to write JSON logs in an AWS Lambda function.
Read more →