Skip to content

Allow configuring an additional Syslog listener - #7

Merged
petrutlucian94 merged 5 commits into
mainfrom
extra_listener
Sep 24, 2026
Merged

petrutlucian94 merged 5 commits into
mainfrom
extra_listener

Conversation

@petrutlucian94

Copy link
Copy Markdown
Member

The Syslog worker currently accepts a single listener, using either
tcp, udp or unix sockets.

Coriolis has been redirecting the container /dev/log to an unix socket.
However, some services only allow streaming the logs to a tcp or udp Syslog
server (e.g. Rabbitmq).

To accommodate this scenario, we'll allow configuring an additional listener.

Accepting a list of listeners may have been cleaner, however adding
a simple "extra listener" setting is much easier and backwards compatible.
Besides, it's unlikely that we'll need yet another listener.

petrutlucian94 and others added 3 commits September 22, 2026 12:32
The Syslog worker currently accepts a single listener, using either
tcp, udp or unix sockets.

Coriolis has been redirecting the container `/dev/log` to an unix socket.
However, some services only allow streaming the logs to a tcp or udp Syslog
server (e.g. Rabbitmq).

To accommodate this scenario, we'll allow configuring an additional listener.

Accepting a list of listeners may have been cleaner, however adding
a simple "extra listener" setting is much easier and backwards compatible.
Besides, it's unlikely that we'll need yet another listener.

Co-authored-by: Cursor <cursoragent@cursor.com>
For convenience, we'll add a makefile similar to that used by
coriolis-writer.

While at it, we'll fix a trivial "go vet" error, complaining about
an unbuffered channel.

@fabi200123 fabi200123 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Perhaps it might make sense to also add a github action to run the unit-tests

Comment thread syslog/syslog_test.go Outdated
We'll use a GH action to run the linter and unit tests.
@petrutlucian94
petrutlucian94 merged commit 79d6522 into main Sep 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants