Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with earlier Elixir versions? #4

Open
lanodan opened this issue Jul 18, 2023 · 2 comments
Open

Compatibility with earlier Elixir versions? #4

lanodan opened this issue Jul 18, 2023 · 2 comments

Comments

@lanodan
Copy link

lanodan commented Jul 18, 2023

Hi,

It looks like Elixir 1.15 broke backend configuration for Pleroma (seems related to us supporting loading configuration from database).
And as it's deprecated we should probably just move to :logger_backend anyway, but it's mix.exs advertises support only for Elixir 1.15+ while we'd want to keep support for previous Elixir versions (currently up to 1.12), is this intended?

@josevalim
Copy link
Member

It may or may not work. Can you please try running the test suite on v1.12? If it works, maybe send a PR to add 1.12 to CI?

@lanodan
Copy link
Author

lanodan commented Aug 2, 2023

Sadly it doesn't works as-is, tests do pass on Elixir 1.13 (didn't have 1.12 on hand) but it's missing Logger.Formatter.format_event/2 which doesn't seems to have an equivalent publicly exposed prior to Elixir 1.15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants