Merge pull request #13108 from dacook/reduce-rack-timeout-logs

Log rack-timeout ready and completed messages in DEBUG mode
This commit is contained in:
Maikel
2025-01-31 10:49:41 +11:00
committed by GitHub

View File

@@ -0,0 +1,7 @@
# https://github.com/zombocom/rack-timeout/blob/main/doc/logging.md
# state changes into timed_out and expired are logged at the ERROR level
# Log ready and completed messages in DEBUG mode only (instead of default INFO)
Rack::Timeout::StateChangeLoggingObserver::STATE_LOG_LEVEL[:ready] = :debug
Rack::Timeout::StateChangeLoggingObserver::STATE_LOG_LEVEL[:completed] = :debug