heroku / log-shuttle

HTTP log transport.

Home Page:log-shuttle.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timestap log lines on input not output

archaelus opened this issue · comments

Log-shuttle is responsible for setting a syslog timestamp on log entries. It currently does this when formatting output (time.Now(). etc) - but this means the stamp given may be way off from the time it received the log entry on stdin.

The timestamp should instead be taken as close to when the log entry is received as possible.

Done as part of f0f56f2