lib/log_sanity/railtie.rb in log_sanity-2.0.0 vs lib/log_sanity/railtie.rb in log_sanity-2.1.0
- old
+ new
@@ -11,10 +11,9 @@
include LogSanity::Extensions::ActionControllerHelper
end
end
initializer "log_sanity.configure", before: :load_config_initializers do |app|
- ActiveSupport::BroadcastLogger.include LogSanity::Extensions::BroadcastLogger
app.config.log_tags ||= []
if app.config.logsanity.enabled
orig_formatter = Rails.logger.formatter
Rails.logger.formatter = LogSanity::Formatter.new