fluent / fluent/fluent-logger-java

Add Support For Unix Domain Sockets

Offen
#98 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
210
Forks
86
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.