Use Plug.Telemetry's dynamic log level feature to disable logging for /health requests. This is the proper Phoenix way to exclude specific endpoints from request logs. - Add log_level/1 function to endpoint that returns false for /health - Configure Plug.Telemetry to use dynamic log level - Remove log: false from router (handled by endpoint now) This prevents Kubernetes health probe spam in application logs. |
||
|---|---|---|
| .. | ||
| towerops | ||
| towerops_web | ||
| towerops.ex | ||
| towerops_web.ex | ||