mcuadros / go-syslog

Syslog server library for go.
http://godoc.org/gopkg.in/mcuadros/go-syslog.v2
MIT License
523 stars 143 forks source link

Process ID is not read (when available) in RFC 3164 parser #52

Open guss77 opened 6 years ago

guss77 commented 6 years ago

Example message:

  <148>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 brackets is not parsed - parseTag skips over the contents of the process id.