dwyl/learn-elixir

Logging and Stack Tracing In Elixir/Erlang

Open

#149 ouverte le 28 déc. 2019

Voir sur GitHub
 (0 commentaires) (1 réaction) (0 assignés)Elixir (113 forks)batch import
discussenhancementhelp wantedstarter

Métriques du dépôt

Stars
 (1 695 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur