aws / aws/aws-lambda-java-libs
Support log4j Custom ContextDataProvider?
Aberta
- Linguagem predominante
- Java
- Estrelas
- 548
- Forks
- 241
- Merge médio
- 2d 5min
- PRs com merge (30d)
- 11
Descrição
I tried a get a custom log4j `ContextDataProvider` (see [log4j doc](https://logging.apache.org/log4j/2.x/manual/extending.html#ContextDataProvider) to work but to no avail.
From the log4j doc, this mechanism relies on `java.util.ServiceLoader` to locate and load `ContextDataProvider` instances.
Is this a restriction of the Corretto VM in AWS Lambda for Java?
I tested this with https://github.com/dynatrace-oss/log4j-metadata-provider.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.