datalust / seq-forwarder

Local collection and reliable forwarding of log data to Seq
Apache License 2.0
57 stars 16 forks source link

Use the rendered compact JSON format for internal logs #19

Closed nblumhardt closed 7 years ago

nblumhardt commented 7 years ago

It's more readable but still reasonably toolable, e.g.:

{"@t":"2017-04-02T11:02:12.8053758Z","@m":"Seq Forwarder listening on \"http://localhost:15341\"","@i":"bc80c4c1","ListenUri":"http://localhost:15341"}
{"@t":"2017-04-02T11:02:12.8711151Z","@m":"Log buffer open on \"C:\\ProgramData\\Seq\\Forwarder\\Buffer\"; 0 entries, next key will be 1","@i":"505684b8","BufferPath":"C:\\ProgramData\\Seq\\Forwarder\\Buffer","Entries":0,"NextId":1}
{"@t":"2017-04-02T11:02:12.9054351Z","@m":"Log shipper started, events will be dispatched to \"http://localhost:5341\"","@i":"8bd6415c","ServerUrl":"http://localhost:5341"}
{"@t":"2017-04-02T11:02:19.7082147Z","@m":"Seq Forwarder stopped cleanly","@i":"2e9e2221"}