lib/heavylog/railtie.rb in heavylog-0.0.22 vs lib/heavylog/railtie.rb in heavylog-0.0.23
- old
+ new
@@ -5,9 +5,10 @@
config.heavylog = Heavylog::OrderedOptions.new
config.heavylog.enabled = false
config.heavylog.path = "log/heavylog.log"
config.heavylog.message_limit = 1024 * 1024 * 50 # 50MB
config.heavylog.log_sidekiq = false
+ config.heavylog.ignore_path = nil
config.heavylog.error_handler = lambda { |e|
Kernel.puts "HeavyLog: Error writing to log: #{e.class}: #{e.message}\n #{e.backtrace.join("\n ")}"
}
initializer "heavylog.insert_middleware" do |app|