mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
* Update README.md * Add structured JSON production logging (#105) * Log requests and background failures (#107) * Document production logging and the VPS runbook
This commit is contained in:
@@ -33,5 +33,10 @@ config :swoosh, local: false
|
||||
# Do not print debug messages in production
|
||||
config :logger, level: :info
|
||||
|
||||
# Emit one JSON object per line in production so journald output can be
|
||||
# filtered and shipped without parsing prose. Dev and test keep the readable
|
||||
# default formatter configured in config.exs.
|
||||
config :logger, :default_handler, formatter: {Chesstrainer.JSONLogFormatter, %{}}
|
||||
|
||||
# Runtime production configuration, including reading
|
||||
# of environment variables, is done on config/runtime.exs.
|
||||
|
||||
Reference in New Issue
Block a user