Closed jonathanstiansen closed 6 years ago
For reference: https://github.com/roidrage/lograge
A query would look like this:
method=GET path=/jobs/833552.json format=json controller=JobsController action=show status=200 duration=58.33 view=40.43 db=15.26
I don't like how it strips out information such as view partial rendering times. Not everyone integrates with new relic and other tools to retrieve that missing data.
But if you need to ship your logs somewhere, lograge is one of the better libs. I've worked with it a bit about a year ago.
Fair enough Nick! I'll close this then.
EDIT: I can't, but feel free to close it. As an aside, I really appreciate all the work/course you do.
Cheers!
No problem, thanks a lot for reading and the support through buying any courses.
This puts the whole log message, or query, on a single line.
I've used this for docker, since it also works super well with third party logging software - i.e. easy to parse.