From 85ccd655436fd021d590a4cb6c30a68676ab0164 Mon Sep 17 00:00:00 2001 From: boyska Date: Fri, 11 Jan 2019 19:36:59 +0100 Subject: [PATCH] receives data from multiple formats however, data structure is variable; this makes templates unnecessary complex. It would be better to convert everything to rfc5424 (at some point) --- cmd/circologd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/circologd/main.go b/cmd/circologd/main.go index 41fb95b..f0a2de2 100644 --- a/cmd/circologd/main.go +++ b/cmd/circologd/main.go @@ -43,7 +43,7 @@ func main() { go hub.Run() server := syslog.NewServer() - server.SetFormat(syslog.RFC5424) + server.SetFormat(syslog.Automatic) server.SetHandler(handler) if *syslogSocketPath != "" { if err = server.ListenUnixgram(*syslogSocketPath); err != nil {