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:
Mark Felder 2019-11-20 11:18:42 -06:00
parent 140a54fd4e
commit c65190c799
2 changed files with 2 additions and 2 deletions

View file

@ -181,7 +181,7 @@
# Configures Elixir's Logger # Configures Elixir's Logger
config :logger, :console, config :logger, :console,
level: :debug, level: :debug,
format: "$time $metadata[$level] $message\n", format: "\n$time $metadata[$level] $message\n",
metadata: [:request_id] metadata: [:request_id]
config :logger, :ex_syslogger, config :logger, :ex_syslogger,

View file

@ -17,7 +17,7 @@
# Print only warnings and errors during test # Print only warnings and errors during test
config :logger, config :logger,
level: :warn, level: :warn,
format: "[$level] $message" format: "\n[$level] $message\n"
config :pleroma, :auth, oauth_consumer_strategies: [] config :pleroma, :auth, oauth_consumer_strategies: []