~cytrogen/masto-fe

ref: fbfc4145fd815ec2aa3e8cbc70bb064e46461973 masto-fe/config/initializers/cache_logging.rb -rw-r--r-- 308 bytes
fbfc4145 — Claire Merge commit '1cdcd9dc08c91321f80ffe4822f6a3da15abeb2c' into glitch-soc/merge-upstream 2 years ago
                                                                                
1
2
3
4
5
# frozen_string_literal: true

# Log cache errors with Rail's logger
# This used to be the default in old Rails versions: https://github.com/rails/rails/commit/7fcf8590e788cef8b64cc266f75931c418902ca9#diff-f0748f0be8a653eea13369ebb1cadabcad71ede7cfaf20282447e64329817befL86
Rails.cache.logger = Rails.logger