digitalocean / captainslog

A Syslog Protocol Parser
Mozilla Public License 2.0
136 stars 19 forks source link

Problem: need to set time to now if no date #47

Closed taotetek closed 8 years ago

taotetek commented 8 years ago

Solution: add date formats to cover local syslog logging formats, and add check for year being unset. If message parses but year is set to 0, set time to now.