dwyl/learn-elixir

Logging and Stack Tracing In Elixir/Erlang

Open

#149 aberto em 28 de dez. de 2019

Ver no GitHub
 (0 comments) (1 reaction) (0 assignees)Elixir (1.695 stars) (113 forks)batch import
discussenhancementhelp wantedstarter

Description

At present we do not have a section in this guide on Logging or Error tracing. This is an omission as it is an important step in building apps that are maintainable.

This looks like a good starting point: https://timber.io/blog/the-ultimate-guide-to-logging-in-elixir/ PDF Snapshot: The-Ultimate-Guide-To-Logging-In-Elixir.pdf

Todo

  • do a bunch of research into stack tracing and logging in Elixir
  • Figure out how to do logging on Heroku (and any other relevant IaaS/PaaS provider)
  • Write it up!

Relevant reading:

Hopefully we can avoid this: https://github.com/dwyl/library/blob/221152bfd4185e5c83747f591b1c66d6a75ce183/lib/library_web/controllers/login_controller.ex#L19

Guia do colaborador