Skip to content

Commit

Permalink
rearrange
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed May 28, 2024
1 parent c55cf9e commit 940e75c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/deps/logger.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ if config_env() == :prod do
config :logger, :console,
level: :info,
format: "$dateT$time [$level]$levelpad node=$node $metadata$message\n",
metadata: [:ip, :mbta_api, :request_id]
metadata: [:ip, :request_id, :mbta_id]
end

if config_env() == :dev do
config :logger, :console,
format: "$date $time [$level] $metadata$message\n",
level: :info,
metadata: [:ip, :mbta_api, :request_id]
metadata: [:ip, :request_id, :mbta_id]
end

if config_env() == :test do
Expand Down

0 comments on commit 940e75c

Please sign in to comment.