matrix-org / sygnal

Sygnal: reference Push Gateway for Matrix
Apache License 2.0
164 stars 147 forks source link

Disable logging for health endpoint #351

Closed dklimpel closed 12 months ago

dklimpel commented 12 months ago

Disable logging for health endpoint (https://github.com/matrix-org/sygnal/pull/55) similar to Synapse (https://github.com/matrix-org/synapse/pull/8048/files#diff-7b3e01a582fbcd62fed542a5f4e3bf08a0cbd74a5a748630840f7b74eb7542c7R319-R322 , https://github.com/matrix-org/synapse/pull/8048)

If you use the health endpoint in k8s or docker, the log file is full of the /health requests. This makes debugging difficult and "spams" the log file.