Skip to content

Commit 6a66027

Browse files
committed
Use ConsoleLogger in test
1 parent 5a34f2d commit 6a66027

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/runtime.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ end
7474
# Deprecate ECTO_IPV6 in favor of PG_IPV6
7575
ecto_socket_opts = if (System.get_env("ECTO_IPV6") || System.get_env("PG_IPV6")) in ~w(true 1), do: [:inet6], else: []
7676

77-
config :logger, default_handler: [formatter: {Datadog, metadata: :all}]
77+
if config_env() == :prod do
78+
config :logger, default_handler: [formatter: {Datadog, metadata: :all}]
79+
end
7880

7981
if config_env() == :prod and self_hosted do
8082
account_self_signup =

0 commit comments

Comments
 (0)