go-syslog
go-syslog copied to clipboard
Syslog server library for go.
Hey, I guess it is nice to have a generic listen function because go1.11+ now has `ListenConfig` methods and it could be useful to setup some sockets options. For example:...
Fixes issue #52. I'm using a string for the PID as I expect it will just be used to build a string again down the line (also, I'm a go...
Example message: ``` Sep 5 12:53:32 vapp-172-24-41-63 asterisk[8865]: chan_sip.c:4077 in retrans_pkt: Retransmission timeout reached on transmission 14 ``` When the message is received by `go-syslog`, the PID in the square...
Log content garbled in Chinese
bufio scanner maxTokenSize 4k~64k message size>64k ,It will cause you to be unable to handle it. I tried to modify it. ``` var scanCloser *ScanCloser scanCloser = &ScanCloser{scanner, connection} _**buf...
When running the example under `examples/basic_udp.go` the program immediately closes. Any ideas? Should I be doing something extra to add something to the waitgroup? System: Mac 10.13.1 Go version: 1.9.1
syslog via /dev/log incorrectly assumes existence of 'hostname' in the message, and thus uses the first word in the message as 'tag'. The parsers must be parametrized to know if...
I would like to recieve from multiple systems with different syslog-daemon. It would be cool, to detect on the fly for every recieved log entry.
Looking through the code, it doesn't seem there's a facility for graceful shutdown. Is this accurate? Not sure if it's a requirement for me or not, but assuming it is,...
Hi, What are your thoughts on changing the syslog parser to either accept a timezone parameter or defaulting timezone to Local? Right now the RFC 3164 parser's timezone is hardcoded...