Java log4j2: Log messages go missing sporadically, especially in multi-threaded scenarios
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- azure, java
调研方向
未指定源文件或测试。克隆链接的 azure-app-insights 重现,并使用列出的 JDK 和环境反复以参数 3 运行;检查 generalExportQueueCapacity 附近的行为以及缺失的消息。完成的标准是:能够重现并解释间歇性丢失问题,完成修复,并验证所有消息都能到达 App Insights。
由索引模型根据 Issue 内容生成。
描述
Expected behavior
All log messages should be sent to App Insights
Actual behavior
Log messages go missing sporadically in multi-threaded scenarios when several threads are logging simultaneously
Application Insights log file has no errors
To Reproduce
Clone https://github.com/hexagon-ecosys/azure-app-insights.git and run it several times by supplying the single parameter value '3' (which runs it in multi-threaded mode with long messages upto 20K characters in length)
System information
- App Insights 3.4.18
- MacOS 14.2 and Alpine 3.18 with Eclipse Temurin JDK 21
Additional Information
- I cannot not see any pattern to this issue other than the fact that it happens more during weekdays (we're based in New York City) and less during the weekends
- I am using the preview option generalExportQueueCapacity. Without it, I can see error messages in the Application Insights log file asking that it be set
- 主要语言
- Java
- 星标
- 327
- 派生
- 222
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 12
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/ApplicationInsights-Java 的其他 Issue
-
Java 25 native-access warning from bundled Netty requires broad ALL-UNNAMED permission可能已有人在做 @rajkumar-rangaraj 于 15 天前认领。 未关闭
microsoft/ApplicationInsights-Java#4851 · 已指派 1 人 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
microsoft/ApplicationInsights-Java#4817 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
microsoft/ApplicationInsights-Java#4770 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
microsoft/ApplicationInsights-Java#4769 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
microsoft/ApplicationInsights-Java#4729 · 130 条评论 ·
维护者通常 2 天内回复
查看 microsoft/ApplicationInsights-Java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
apache/rocketmq-dashboard#5358 ·
维护者通常 3 天内回复
-
area:cpan-port area:database bug
难度 2/5 1-3 小时 新手友好度 84/100
fglock/PerlOnJava#1605 ·
维护者通常 1 天内回复
-
1.0.0-rc2
难度 2/5 1-3 小时 新手友好度 68/100
wso2/dpdp-accelerator#377 ·
维护者通常 1 天内回复
-
area/dependencies backport/26.4 kind/cve severity/high source/scan-dependencies status/triage
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复