fluent / fluent/fluent-logger-java

Add Support For Unix Domain Sockets

Open
#98 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
210
Forks
86
PR merge metrics
No merged PRs in 30d

Description

It would be nice if this logger would support Unix Domain Sockets as the target instead of only (host, port) inet addresses. `UnixDomainSocketAddress` was added in Java 16. However, this library need not depend on that if `SocketAddress` can be supplied to `getLogger()` which has been around since 1.4.

This feature would be particularly useful for container environments such as Docker because some not very nice tricks are required for a container to connect to a host socket. Note that Unix domain sockets are supported by [Fluentd](https://docs.fluentd.org/input/unix) and [Fluent-Bit](https://docs.fluentbit.io/manual/pipeline/inputs/forward).

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.