Skip to content

Commit

Permalink
feat: add MFA to logs (#2726)
Browse files Browse the repository at this point in the history
  • Loading branch information
firestack authored Aug 5, 2024
1 parent 0f120e8 commit 061791b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ config :skate, Oban,
# Configures Elixir's Logger
config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
metadata: [:mfa, :request_id]

# "code" is the secret value returned by AWS to /auth/cognito/callback
log_filter_params =
Expand Down
2 changes: 1 addition & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ config :logger, level: :info

config :logger, :console,
format: "$time $metadata[$level] node=$node $message\n",
metadata: [:request_id]
metadata: [:mfa, :request_id]

# Configure Ueberauth to use Cognito / Keycloak
config :ueberauth, Ueberauth,
Expand Down

0 comments on commit 061791b

Please sign in to comment.