Elixir 1.19: Fix improper deprecation warning wording
This commit is contained in:
parent
b75f8f7c9a
commit
0ac1b65ba9
2 changed files with 2 additions and 6 deletions
|
|
@ -452,8 +452,7 @@ defmodule Pleroma.Config.DeprecationWarnings do
|
||||||
Your configuration is using deprecated syntax for configuring backends of Elixir's logger.
|
Your configuration is using deprecated syntax for configuring backends of Elixir's logger.
|
||||||
`config :logger, backends: [...]` is deprecated syntax due to changes in Elixir.
|
`config :logger, backends: [...]` is deprecated syntax due to changes in Elixir.
|
||||||
Please update your configuration at your earliest convenience to use:
|
Please update your configuration at your earliest convenience to use:
|
||||||
`config :logger, backends: [...]`
|
`config :pleroma, :logger, backends: [...]`
|
||||||
Pleroma's default configuration will be updated in the next release which WILL override your settings.
|
|
||||||
|
|
||||||
Note: `:console` is no longer considered a backend and is used by default, you can disable it using:
|
Note: `:console` is no longer considered a backend and is used by default, you can disable it using:
|
||||||
`config :logger, :default_handler: false`
|
`config :logger, :default_handler: false`
|
||||||
|
|
@ -472,7 +471,6 @@ defmodule Pleroma.Config.DeprecationWarnings do
|
||||||
`config :logger, :console` is deprecated syntax due to changes in Elixir.
|
`config :logger, :console` is deprecated syntax due to changes in Elixir.
|
||||||
Please update your configuration at your earliest convenience to use
|
Please update your configuration at your earliest convenience to use
|
||||||
`config :logger, default_handler` and `config :logger, :default_formatter`.
|
`config :logger, default_handler` and `config :logger, :default_formatter`.
|
||||||
Pleroma's default configuration will be updated in the next release which WILL override your settings.
|
|
||||||
|
|
||||||
Note: `:default_handler` is used only for the `level` setting. All other configurations go under
|
Note: `:default_handler` is used only for the `level` setting. All other configurations go under
|
||||||
`:default_formatter`. For more info visit: https://hexdocs.pm/logger/Logger.html#module-backends-and-backwards-compatibility
|
`:default_formatter`. For more info visit: https://hexdocs.pm/logger/Logger.html#module-backends-and-backwards-compatibility
|
||||||
|
|
|
||||||
|
|
@ -416,8 +416,7 @@ defmodule Pleroma.Config.DeprecationWarningsTest do
|
||||||
Your configuration is using deprecated syntax for configuring backends of Elixir's logger.
|
Your configuration is using deprecated syntax for configuring backends of Elixir's logger.
|
||||||
`config :logger, backends: [...]` is deprecated syntax due to changes in Elixir.
|
`config :logger, backends: [...]` is deprecated syntax due to changes in Elixir.
|
||||||
Please update your configuration at your earliest convenience to use:
|
Please update your configuration at your earliest convenience to use:
|
||||||
`config :logger, backends: [...]`
|
`config :pleroma, :logger, backends: [...]`
|
||||||
Pleroma's default configuration will be updated in the next release which WILL override your settings.
|
|
||||||
|
|
||||||
Note: `:console` is no longer considered a backend and is used by default, you can disable it using:
|
Note: `:console` is no longer considered a backend and is used by default, you can disable it using:
|
||||||
`config :logger, :default_handler: false`
|
`config :logger, :default_handler: false`
|
||||||
|
|
@ -430,7 +429,6 @@ defmodule Pleroma.Config.DeprecationWarningsTest do
|
||||||
`config :logger, :console` is deprecated syntax due to changes in Elixir.
|
`config :logger, :console` is deprecated syntax due to changes in Elixir.
|
||||||
Please update your configuration at your earliest convenience to use
|
Please update your configuration at your earliest convenience to use
|
||||||
`config :logger, default_handler` and `config :logger, :default_formatter`.
|
`config :logger, default_handler` and `config :logger, :default_formatter`.
|
||||||
Pleroma's default configuration will be updated in the next release which WILL override your settings.
|
|
||||||
|
|
||||||
Note: `:default_handler` is used only for the `level` setting. All other configurations go under
|
Note: `:default_handler` is used only for the `level` setting. All other configurations go under
|
||||||
`:default_formatter`. For more info visit: https://hexdocs.pm/logger/Logger.html#module-backends-and-backwards-compatibility
|
`:default_formatter`. For more info visit: https://hexdocs.pm/logger/Logger.html#module-backends-and-backwards-compatibility
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue