Skip to content

Commit

Permalink
feat: Add mfa to dev logs (#2737)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlarson authored Aug 8, 2024
1 parent b060e88 commit 5a65a12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ config :skate, SkateWeb.Endpoint,
config :skate, Skate.Repo, database: "skate_dev"

# Do not include metadata nor timestamps in development logs
config :logger, :console, format: "[$level] $message\n"
config :logger, :console,
format: "[$level] $metadata$message\n",
metadata: [:mfa]

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

0 comments on commit 5a65a12

Please sign in to comment.