Closed aparcar closed 6 months ago
I don't have anymore write/maintain access here. So, I can't help/maintain it. It's unfortunate but it is what it is... Feel free to redirect this PR to https://github.com/leodido/go-syslog. I plan to keep evolving this project there, on my GitHub. Thank you
This isn't a particularly fancy patch but adds RFC3164 support for streams.
My motivation is to use Lokis client tool
promtail
directly with RFC3164 devices without having a syslog-ng server in-between.both nontransparent and octetcounting use RFC5424 which isn't used by many devices, i.e. OpenWrt or Ubiquiti routers.
Add a new function called NewParserRFC3164 to both.
Signed-off-by: Paul Spooren mail@aparcar.org