Logging loop
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java
调研方向
首先从 FluentLogger 和 RawSocketSender 开始跟踪日志记录,然后查看链接的 logback-more-appenders issue 以了解背景。一个有价值的贡献需要一种明确达成共识的方式来防止日志记录循环或限制消息数量,并验证 FluentLogger 仍然可以报告相关故障。
由索引模型根据 Issue 内容生成。
描述
If FluentLogger is used as an appender with logback (such as https://github.com/sndyuk/logback-more-appenders) then any logging by FluentLogger and related classes such as RawSocketSender can end up creating a nice little logging loop.
For instance, RawSocketSender will log "Created messages" or a message when the buffer is full... all of which get routed back into slf4j and then likely routed right back into FluentLogger for logging....
While the obvious answer is to drop any org.fluentd.logger.* messages that would end up routed to the FluentLogger appender (thereby possibly leaving them routed to other appends) that would then mask any real messages but I wonder if there is a better solution?
I don't have any ideas but figured I'd throw the problem out there and maybe someone would have a good idea.
It may also be helpful to enable some type of throttling on messages--- like if the buffer is full due to a down fluentd.
Also cross posted here: https://github.com/sndyuk/logback-more-appenders/issues/2
- 主要语言
- Java
- 星标
- 210
- 派生
- 86
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluent/fluent-logger-java 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
fluent/fluent-logger-java#100 ·
-
难度 4/5 3-5 天 新手友好度 15/100
fluent/fluent-logger-java#99 · 1 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
fluent/fluent-logger-java#98 · 1 条评论 ·
-
Null Pointer Exception with slf4j-log4j12-1.7.30 (Fluent-logger incompatible with the new version)未关闭
难度 3/5 1-2 天 新手友好度 42/100
fluent/fluent-logger-java#89 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 25/100
fluent/fluent-logger-java#88 · 1 条评论 ·
查看 fluent/fluent-logger-java 的全部 Issue
相似的 Issue
-
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 天内回复
-
(primitive-collections-base) Use `NumberInput` to parse numeric map keys, as `jackson-databind` does未关闭
难度 2/5 1-3 小时 新手友好度 78/100
FasterXML/jackson-datatypes-collections#270 ·
维护者通常 1 天内回复
-
type/bug
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复