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:
@@ -41,7 +41,10 @@ defmodule ChesstrainerWeb.Endpoint do
|
||||
cookie_key: "request_logger"
|
||||
|
||||
plug Plug.RequestId
|
||||
plug Plug.Telemetry, event_prefix: [:phoenix, :endpoint]
|
||||
|
||||
# Access lines come from ChesstrainerWeb.RequestLogger (one structured line
|
||||
# per request); disable Phoenix.Logger's endpoint start/stop pair.
|
||||
plug Plug.Telemetry, event_prefix: [:phoenix, :endpoint], log: false
|
||||
|
||||
plug Plug.Parsers,
|
||||
parsers: [:urlencoded, :multipart, :json],
|
||||
|
||||
Reference in New Issue
Block a user