       in the queue is reduced to `sync_threshold * 0.75` messages.
       Defaults to 20 messages.
 
+  For example, to set the level to `:warn` and decrease the truncation size:
+
+      config :logger,
+        level: :warn,
+        truncate: 4096
+
   ### Error logger configuration
 
   The following configuration applies to the Logger wrapper around


    * `:handle_otp_reports` - redirects OTP reports to Logger so
      they are formatted in Elixir terms. This uninstalls Erlang's
      logger that prints terms to terminal.

    * `:handle_sasl_reports` - redirects supervisor, crash and
      progress reports to Logger so they are formatted in Elixir
      terms. This uninstalls `sasl`'s logger that prints these
      reports to the terminal.

    * `:discard_threshold_for_error_logger` - a value that, when
      reached, triggers the error logger to discard messages. This

      Logger call will be completely removed at compile time, accruing
      no overhead at runtime. Defaults to `:debug` and only
      applies to the `Logger.debug`, `Logger.info`, etc style of calls.

  For example, to set the backends to `[:console]` and purge Logger calls
  below `info` (i.e. all `debug` calls) at compile time:

      config :logger,
        backends: [:console],
        compile_time_purge_level: :info

  ### Runtime Configuration

