Console backend's log format should be prefixed and suffixed with newlines.
This is how upstream does it by default.
This commit is contained in:
parent
140a54fd4e
commit
c65190c799
@ -181,7 +181,7 @@ config :pleroma, Pleroma.Web.Endpoint,
|
||||
# Configures Elixir's Logger
|
||||
config :logger, :console,
|
||||
level: :debug,
|
||||
format: "$time $metadata[$level] $message\n",
|
||||
format: "\n$time $metadata[$level] $message\n",
|
||||
metadata: [:request_id]
|
||||
|
||||
config :logger, :ex_syslogger,
|
||||
|
@ -17,7 +17,7 @@ config :pleroma, Pleroma.Captcha,
|
||||
# Print only warnings and errors during test
|
||||
config :logger,
|
||||
level: :warn,
|
||||
format: "[$level] $message"
|
||||
format: "\n[$level] $message\n"
|
||||
|
||||
config :pleroma, :auth, oauth_consumer_strategies: []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user