Commit 662f5b56 authored by azul's avatar azul

log: hide cache hit lines

Lines like
"Read fragment views/..."
were cluttering the logs in production.

There is no need to log every cache hit.
parent 62f3863d
# Turn of logging of fragments read.
module ActionController
class LogSubscriber < ActiveSupport::LogSubscriber
def read_fragment(event)
return
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment