DEV Community

Jan Küster 🔥
Jan Küster 🔥

Posted on

Where do you log your errors?

I personally feel intimidated by the choice of where to log my errors. Mostly, because I have many options and few information about the pros and cons of these:

  • console
  • process.stderr
  • logger
  • database
  • logfile
  • combinations of the above?
  • ... what else?

Also - why? How do you profit from the approach you use?

Top comments (1)

Collapse
 
dikamilo profile image
dikamilo

console in dev, sentry in production

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up