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
|
# 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,
|
||||||
|
@ -17,7 +17,7 @@ config :pleroma, Pleroma.Captcha,
|
|||||||
# 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: []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user