/usr/lib/ruby/vendor_ruby/lograge/railtie.rb is in ruby-lograge 0.5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | require 'rails/railtie'
require 'action_view/log_subscriber'
require 'action_controller/log_subscriber'
module Lograge
class Railtie < Rails::Railtie
config.lograge = ActiveSupport::OrderedOptions.new
config.lograge.enabled = false
config.after_initialize do |app|
Lograge.setup(app) if app.config.lograge.enabled
end
end
end
|