aws / aws/aws-lambda-java-libs

Support log4j Custom ContextDataProvider?

Aperta
#307 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
548
Fork
241
Merge medio
2g 5m
PR unite (30g)
11

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.