fluent / fluent/fluent-logger-java

How to configure fluentd in log4j?

未关闭
#54 7 条评论 11 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
210
派生
86
PR 合并指标
30 天内没有已合并 PR

描述

Two questions/issues
1. Based on fluentd java logger https://github.com/fluent/fluent-logger-java
Looks like I need to create and use fluentd logger in my application.

I dont want to add Fluentd related code into my application. So, is there a way to log to fluentd by configuring the SocketAppender in log4j?

Similar to logstash config for log4j below?
https://github.com/agorski/logstash-log4j-example/blob/master/src/main/resources/log4j.xml
1. How do I configure Fluentd to monitor/access a log file/directory?

贡献指南

这个仓库没有索引到贡献指南

调研方向

检查 fluent-logger-java 项目和所引用的 log4j.xml 示例,然后将 SocketAppender 配置问题与 Fluentd 日志文件监控问题分开。对于这两个问题,均记录受支持的配置路径,或记录不存在受支持的配置路径,即表示该 issue 已完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
observability-sre
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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