aws / aws/aws-lambda-java-libs
Support log4j Custom ContextDataProvider?
未關閉
- 主要語言
- Java
- 星號
- 548
- 分支
- 241
- 平均合併
- 2 天 5 分鐘
- 30 天內合併 PR
- 11
描述
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.
貢獻指南
評估
這個 Issue 還沒有評估資料。