From 94b0fc2f250a28a489b784c2577d5e0fd7c2f5e7 Mon Sep 17 00:00:00 2001 From: Steffen Deusch Date: Wed, 23 Oct 2024 09:28:42 +0200 Subject: [PATCH] Adjust logger config in dev.exs config template Relates to: #5957 Thank you, @champeric! --- installer/templates/phx_single/config/dev.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/templates/phx_single/config/dev.exs b/installer/templates/phx_single/config/dev.exs index 73deeaf344..4dc897f64d 100644 --- a/installer/templates/phx_single/config/dev.exs +++ b/installer/templates/phx_single/config/dev.exs @@ -56,7 +56,7 @@ config :<%= @app_name %>, <%= @endpoint_module %>, config :<%= @app_name %>, dev_routes: true # Do not include metadata nor timestamps in development logs -config :logger, :console, format: "[$level] $message\n" +config :logger, :default_formatter, format: "[$level] $message\n" # Set a higher stacktrace during development. Avoid configuring such # in production as building large stacktraces may be expensive.