1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2026-02-15 17:16:57 +00:00
pleroma/config
Phantasm 6e6e3e1ae6
Elixir 1.19: Refactor Logger configuration to what Elixir 1.15+ expects
Elixir 1.19 started emitting warnings about our use of:
config :logger, :console and
config :logger, backends: []
which got split in 1.15 to :default_handler, :default_formatter, and
LoggerBackends.add(backend) respectively.

On Pleroma startup it is now necessary to add the additional logger
backends at runtime (done with configure_logger() in application.ex).
New config key :pleroma, :logger_backends: [] has replaced the older
backends array. The logger_backends package is now used to facilitate
usage of other logger backends besides the default one (:logger_std_h
from OTP).

Warnings were added to Pleroma startup to warn about the usage of
:logger, backends and additional logic was introduced to make addition
of ExSyslogger to admin's configuration less dumb.

Ref: https://hexdocs.pm/logger/1.15.0/Logger.html#module-backends-and-backwards-compatibility
2026-02-12 23:44:28 +01:00
..
benchmark.exs Use config to control streamer registry 2024-01-20 18:51:20 -05:00
config.exs Elixir 1.19: Refactor Logger configuration to what Elixir 1.15+ expects 2026-02-12 23:44:28 +01:00
description.exs Merge branch 'preferred-frontend' into 'develop' 2025-12-16 20:54:00 +01:00
dev.exs Elixir 1.19: Refactor Logger configuration to what Elixir 1.15+ expects 2026-02-12 23:44:28 +01:00
docker.exs allow custom db port 2022-11-11 12:22:21 -03:00
dokku.exs Switch from the deprecated "use Mix.config" to "import Config" 2021-05-20 14:02:58 -05:00
emoji.txt Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
prod.exs Elixir 1.19: Refactor Logger configuration to what Elixir 1.15+ expects 2026-02-12 23:44:28 +01:00
test.exs Elixir 1.19: Refactor Logger configuration to what Elixir 1.15+ expects 2026-02-12 23:44:28 +01:00