Where do you log your errors?

Jan Küster - Apr 7 '21 - - Dev Community

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?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player