Logging in Ruby: (Almost) Everything You Need to Know
akshaykhot.com
akshaykhot.com
Glad to see one of his posts here on HN.
And frankly stunning to see a Ruby post on the front page!
Numerical Severity
Code
0 Emergency: system is unusable
1 Alert: action must be taken immediately
2 Critical: critical conditions
3 Error: error conditions
4 Warning: warning conditions
5 Notice: normal but significant condition
6 Informational: informational messages
7 Debug: debug-level messages
[1] https://datatracker.ietf.org/doc/html/rfc5424At least some log scraping + monitors with graylog, ELK or the like would be the minimum imo…
It was meant to be a beginner-level introduction to logging (especially for those developers who got started in 2023 ;))
And I would not call scraping and monitoring advanced topics.
Advanced topics are multi stage image builds, helm charts + deployments and clean architecture. Just to name a few.
But what if you're just trying to stand up a rails app on a boring linux droplet?