Skip to content

Commit

Permalink
Adjust logger config in dev.exs config template
Browse files Browse the repository at this point in the history
Relates to: #5957

Thank you, @champeric!
  • Loading branch information
SteffenDE committed Oct 23, 2024
1 parent 36e9b3f commit 94b0fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/templates/phx_single/config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 94b0fc2

Please sign in to comment.