improve oban logging

This commit is contained in:
2023-02-04 20:47:47 -05:00
committed by oliviasculley
parent cd6bb6fbc3
commit f1139d0ec4
5 changed files with 104 additions and 10 deletions

View File

@ -64,8 +64,9 @@ config :lokal, LokalWeb.Endpoint,
]
]
# Do not include metadata nor timestamps in development logs
config :logger, :console, format: "[$level] $message\n"
config :logger, :console,
format: "[$level] $message $metadata\n\n",
metadata: [:data]
# Set a higher stacktrace during development. Avoid configuring such
# in production as building large stacktraces may be expensive.