forked from akaspin/ain
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
If you log a message containing linebreaks, ain will only prefix the first line with the "preamble". This might be correct, but it poses a problem with most syslog servers which don't deal with multiline messages over UDP/Unix socket, including Rsyslog. (It has a hacky setting called EscapeControlCharactersOnReceive which can be used to ignore line breaks, but it's not good enough. Rsyslog is such a mess.)
I think the better solution is to let ain optionally split the message into lines, and prefix each line with the preamble. Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels