aws / aws/aws-lambda-java-libs

Support log4j Custom ContextDataProvider?

未关闭
#307 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。