mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Instead of default INFO, because it pollutes the logs unnecessarily. Error messages will still be logged the same as before.
8 lines
379 B
Ruby
8 lines
379 B
Ruby
# 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
|
|
|