Skip to content

Commit 94b0fc2

Browse files
committed
Adjust logger config in dev.exs config template
Relates to: #5957 Thank you, @champeric!
1 parent 36e9b3f commit 94b0fc2

File tree

1 file changed

+1
-1
lines changed
  • installer/templates/phx_single/config

1 file changed

+1
-1
lines changed

installer/templates/phx_single/config/dev.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ config :<%= @app_name %>, <%= @endpoint_module %>,
5656
config :<%= @app_name %>, dev_routes: true
5757

5858
# Do not include metadata nor timestamps in development logs
59-
config :logger, :console, format: "[$level] $message\n"
59+
config :logger, :default_formatter, format: "[$level] $message\n"
6060

6161
# Set a higher stacktrace during development. Avoid configuring such
6262
# in production as building large stacktraces may be expensive.

0 commit comments

Comments
 (0)