Skip to content

Commit

Permalink
Use new default_formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Jul 8, 2024
1 parent b28c575 commit 75c1613
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions mix_tests/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,13 @@ config :logger,
level: :info,
utc_log: true

# Configures Elixir's Logger
config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id, :trace_id, :span_id]

config :logger_formatter_json_tests, :logger, [
{:handler, :default, :logger_std_h,
%{
formatter:
{:logger_formatter_json,
%{
names: :datadog
}}
}}
]
config :logger, :default_handler,
formatter: {
:logger_formatter_json,
%{
names: :datadog
}
}

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
Expand Down

0 comments on commit 75c1613

Please sign in to comment.