class ActionView::LogSubscriber

def log_rendering_start(payload, name)

def log_rendering_start(payload, name)
  debug do
    qualifier =
      if name == "render_template.action_view"
        ""
      elsif name == "render_layout.action_view"
        "layout "
      end
    return unless qualifier
    message = +"  Rendering #{qualifier}#{from_rails_root(payload[:identifier])}"
    message << " within #{from_rails_root(payload[:layout])}" if payload[:layout]
    message
  end
end