SASL Reports
Explore how to enable and use SASL reports in Elixir to improve logging and debugging for production applications. Understand their role in tracking application start-up, detecting crashes, and configuring Logger for optimal reporting. This lesson helps you prepare your Elixir apps for reliable production deployment.
We'll cover the following...
SASLs with Elixir
SASLs, or system architecture support libraries, ship as part of Erlang/OTP, providing detailed progress and crash reports. They extend Erlang and Elixir loggers to provide detailed reports from supervisors. We can enable it either with a command-line flag or a configuration option.
Start Elixir or IEx with SASL enabled by passing the --logger-sasl-reports true flag. Create a new application to try it out:
Don’t worry, we have ...