dwyl/learn-elixir

Logging and Stack Tracing In Elixir/Erlang

Open

#149 aperta il 28 dic 2019

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)Elixir (113 fork)batch import
discussenhancementhelp wantedstarter

Metriche repository

Star
 (1695 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor