improve oban logging

This commit is contained in:
2023-02-04 20:48:14 -05:00
parent f6b5fc17fa
commit 064d2d3988
6 changed files with 105 additions and 10 deletions

View File

@ -64,8 +64,9 @@ config :cannery, CanneryWeb.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.