rack-cache gem relies on @env['rack.errors'] setting to log error messages: 
    78:       # write log message to rack.errors
    79:       if verbose?
    80:         binding.pry
    81:         message = "cache: [%s %s] %s\n" %
    82:           [@request.request_method, @request.fullpath, trace]
 => 83:         @env['rack.errors'].write(message)
    84:       end
It is currently set to @env['rack.errors'] #⇒ #<IO:<STDERR>>.
I need to change it to use Rails.logger. The obvious opportunity is to hack into rack-cache initializer RAILS_CACHE.logger = .... I wonder whether there is a common way to access rack environment from Rails, like (pseudocode):
Rails.RACK_ENV['rack.errors'] = Rails.logger
 
    