Method: Fluent::Plugin::SyslogInput#start
- Defined in:
- lib/fluent/plugin/in_syslog.rb
#start ⇒ Object
159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/fluent/plugin/in_syslog.rb', line 159 def start super log.info "listening syslog socket on #{@bind}:#{@port} with #{@protocol_type || @transport_config.protocol}" case @protocol_type || @transport_config.protocol when :udp then start_udp_server when :tcp then start_tcp_server when :tls then start_tcp_server(tls: true) else raise "BUG: invalid transport value: #{@protocol_type || @transport_config.protocol}" end end |