Skip to content

Commit

Permalink
Move config to config.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Mar 30, 2023
1 parent 225bee9 commit 74aa50c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import Config

config :logger, :console, format: "$time $metadata[$level] $message\n"
config :logger, :console,
format: "$time $metadata[$level] $message\n",
colors: [enabled: false],
metadata: [:request_id]

if Mix.env() == :test do
config :plug, :statuses, %{
Expand Down
2 changes: 0 additions & 2 deletions test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Application.ensure_all_started(:telemetry)
ExUnit.start(assert_receive_timeout: 200)
Logger.configure_backend(:console, colors: [enabled: false], metadata: [:request_id])

defmodule Plug.ProcessStore do
@behaviour Plug.Session.Store
Expand Down

0 comments on commit 74aa50c

Please sign in to comment.