fluent / fluent/fluent-logger-java

How to configure fluentd in log4j?

Open
#54 7 comments 11 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
210
Forks
86
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.