fixes for logger backends

This commit is contained in:
Alexander 2019-12-21 13:54:22 +03:00 committed by Alexander Strizhakov
commit 9c1f3bfeff
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
3 changed files with 27 additions and 4 deletions

View file

@ -295,7 +295,8 @@ defmodule Pleroma.Web.AdminAPI.Config do
@spec is_module_name?(String.t()) :: boolean()
def is_module_name?(string) do
Regex.match?(~r/^(Pleroma|Phoenix|Tesla)\./, string) or string in ["Oban", "Ueberauth"]
Regex.match?(~r/^(Pleroma|Phoenix|Tesla|Quack)\./, string) or
string in ["Oban", "Ueberauth", "ExSyslogger"]
end
defp do_eval(entity) do