What logging libraries do people like?
# random
t
What logging libraries do people like?
o
Been using bunyan for years…haven’t had any complaints
For local dev I usually turn logs off, but when I need to inspect them, I pipe them into https://github.com/gistia/json-log-viewer via a fifo pipe
r
Pretty simple but this works https://www.npmjs.com/package/lambda-log
t
so both of you using json logs - where do you view them? Are you just using cloudwatch? Or another service
I've never really landed on a logging service I liked / learned enough
o
Yeah I “get by” with cloudwatch, it’s gotten a bit better now but it’s a pain to use its json filtering syntax
r
Epsagon for us
Which,for the logs themselves, is a window to cloudwatch but the trace visibility gives excellent context
j