improve oban logging

This commit is contained in:
2023-02-04 20:48:17 -05:00
parent f10d061279
commit 1284a0c4b1
6 changed files with 105 additions and 10 deletions

View File

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