module Loggery::LogstashSetup
Public Class Methods
setup(config)
click to toggle source
# File lib/loggery/railtie.rb, line 8 def self.setup(config) config.logstash.type = :file config.logstash.path = config.loggery.log_file LogStashLogger.configure do |logstash| logstash.customize_event do |event| Loggery::Metadata::LogstashEventUtil.event_metadata(event) end end end