zero icon indicating copy to clipboard operation
zero copied to clipboard

Errors / Exceptions / Standardized Logging

Open bmonkman opened this issue 5 years ago • 4 comments

Analyze and choose best tools for error / exception handling, logging, etc. in supported frontend and backend languages, and integrate. Look at options like outputting all JSON logs, and then modifications to Fluentd config to support auto-parsing. We have existing code for this in some projects - ask Bill.

bmonkman avatar Aug 18 '20 00:08 bmonkman

For Go we used logrus at my last gig.

GrooveStomp avatar Sep 30 '20 18:09 GrooveStomp

More specifically, we used Logrus with json output. We also used ougai for Ruby to output json logs. We were using Datadog to aggregate logs and it had a built-in json parser; presumably similar to Fluentd's json parser.

GrooveStomp avatar Sep 30 '20 18:09 GrooveStomp

Yeah I have the most experience with Logrus as well.

bmonkman avatar Sep 30 '20 18:09 bmonkman

Also see this PR for Node.js: https://github.com/commitdev/helix-service/pull/357/files

bmonkman avatar Nov 25 '20 01:11 bmonkman