logtron icon indicating copy to clipboard operation
logtron copied to clipboard

Logger Server

Open lxe opened this issue 11 years ago • 5 comments

What do you think of a "logger server". A server that requires a very lightweight client, that then would handle propagating the logs to each of the configured transports.

This way, instead of installing a large selection of heavyweight clients with every service, we can utilize one, universal, small, simple client.

@Raynos @Matt-Esch

lxe avatar Oct 27 '14 22:10 lxe

:+1:

This is non trivial though.

Raynos avatar Oct 27 '14 22:10 Raynos

This is non trivial though.

In the simplest case, we can accomplish it by creating a service that accepts requests and utilizes the heavyweight logtron client configured to log those requests with some modifications. That service becomes the logger server.

lxe avatar Oct 27 '14 22:10 lxe

@lxe now what happens when that server goes down.

You've introduced a new single point of failure, how do you plan to deal with it.

Raynos avatar Oct 27 '14 23:10 Raynos

Spin up more servers and have a client that falls back to the next available?

lxe avatar Oct 28 '14 01:10 lxe

You've introduced a new single point of failure, how do you plan to deal with it.

That is why I think it should be an included module, not a separate service. Config can describe its behavior, including timeout/fallback to a local file as last resort.

nharkins avatar Oct 28 '14 17:10 nharkins