A Docker plugin for Papertrail to send and read container logs. As a SolarWinds Innovation Project, this adapter is supported in a best-effort fashion.
The current version of the plugin hard codes UDP as the syslog protocol. We would like to be able to use TCP+TLS as our protocol.
Unfortunately, it seems that the golang syslog module does not support TCP+TLS, nor is it being maintained. I came across RackSec/srslog, which appears to be a drop-in replacement for the golang syslog module and has support for TCP+TLS.
Changes in this PR:
Implemented RackSec/srslog as a replacement for golang's syslog module to provide TCP+TLS.
Added support for setting the syslog protocol to use.
The current version of the plugin hard codes UDP as the syslog protocol. We would like to be able to use TCP+TLS as our protocol.
Unfortunately, it seems that the golang syslog module does not support TCP+TLS, nor is it being maintained. I came across RackSec/srslog, which appears to be a drop-in replacement for the golang syslog module and has support for TCP+TLS.
Changes in this PR:
RackSec/srslog
as a replacement for golang's syslog module to provide TCP+TLS.