go-syslog
go-syslog copied to clipboard
Syslog server library for go.
Is it possible to set generic format? as opposed to being specific. ``` server.SetFormat(syslog.RFC3164) //server.SetFormat(syslog.RFC5424) //server.SetFormat(syslog.RFC6587) ``` Code: ```go import ( //"fmt" "github.com/davecgh/go-spew/spew" syslog "github.com/mcuadros/go-syslog" ) func startSyslogReceiver(r *Receiver, ctx...
Go 1.13 on Fedora Rawhide: ``` Testing in: /builddir/build/BUILD/go-syslog-a127d826d6c27489d377b3c080bd256d8f8093a6/_build/src PATH: /builddir/build/BUILD/go-syslog-a127d826d6c27489d377b3c080bd256d8f8093a6/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/go-syslog-a127d826d6c27489d377b3c080bd256d8f8093a6/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X gopkg.in/mcuadros/go-syslog.v2/version=2.2.1 -X gopkg.in/mcuadros/go-syslog.v2/version.commit=a127d826d6c27489d377b3c080bd256d8f8093a6 -extldflags '-Wl,-z,relro -Wl,--as-needed...
https://github.com/mcuadros/go-syslog/blob/f64d9a01be4d579005ef14df59fdaf57a3082664/format/automatic.go#L97
Hi, I think that both of following time strings are valid RFC3339 time format. However, RFC3164 parser is not able to parse the second type of timestamp (i.e. ```2019-11-06T08:12:25Z```) due...
Hello, I am using this library without any problem. Thank you. I have to forward also syslog messages to another syslog server and using another syslog library. Maybe future releases...
Thanks for your work on this! I'm in the process of learning Go and am using this library for log ingestion. During development I keep having to reboot. If the...
There is a problem that the syslog server sometimes send TCP "RST" package to the client when the client send data to the server, and it raises a "broken pipe"...
Hi. Running your [example server](https://github.com/mcuadros/go-syslog/blob/master/example/basic_udp.go). When I try to log something from other go code or python script, I get empty log message like `map[hostname: tag: content: facility:0 severity:0 client:127.0.0.1:60172...
The GoDoc link takes you to an icon of the GoDoc Link button.
The datagram channel is closed without synchronization, thus the reading routine is exposed to a race condition that crashes the channel. As the crash is sporadic, it's not easily reproducible...