# File lib/fluent/plugin/in_syslog.rb, line 84 def configure(conf) super if conf.has_key?('format') @parser = Plugin.new_parser(conf['format']) @parser.configure(conf) else conf['with_priority'] = true @parser = TextParser::SyslogParser.new @parser.configure(conf) @use_default = true end end
# File lib/fluent/plugin/in_syslog.rb, line 119 def run @loop.run(@blocking_timeout) rescue log.error "unexpected error", :error=>$!.to_s log.error_backtrace end
Generated with the Darkfish Rdoc Generator 2.