I do a little emoji based on how what long or short the total response time was so I start counting when the request comes in and then I stop counting when the response is going out just via middleware. If that time is really fast you get a rocket ship if it's um shorter you get a bunny rabbit and if it's really long then you get a turtle. So not just uh log in attempted but log in attempted with user email address obviously don't put passwords in in your logging. You certainly start to step into areas of GDPR and and all these rules around private information and tracking all whatnotSo make sure you are up to date with all of that as well as scrub
In this Hasty Treat, Scott and Wes talk about the reasons why you should log errors, how it’s not just for debugging, where to save logs, and apps and packages to help with logging.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
Tweet us your tasty treats