Skip to content

Commit

Permalink
docs: no longer recommend soft-deprecated :logger :console config (#1246
Browse files Browse the repository at this point in the history
)
  • Loading branch information
grzuy authored Sep 19, 2024
1 parent 0fa1f92 commit e11e5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plug/request_id.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ defmodule Plug.RequestId do
The request ID is added to the `Logger` metadata as `:request_id`, and to the
response as the configured HTTP response header (see options below). To see the
request ID in your log output, configure your logger backends to include the `:request_id`
request ID in your log output, configure your logger formatter to include the `:request_id`
metadata. For example:
config :logger, :console, metadata: [:request_id]
config :logger, :default_formatter, metadata: [:request_id]
We recommend to include this metadata configuration in your production
configuration file.
Expand Down

0 comments on commit e11e5c4

Please sign in to comment.