mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- Fix syntax errors.
This commit is contained in:
parent
7a32d664b0
commit
ca316b0096
3 changed files with 4 additions and 4 deletions
|
@ -83,7 +83,7 @@ class LogStash::Filters::Grep < LogStash::Filters::Base
|
|||
next if re.match(value)
|
||||
@logger.debug("grep not-matched (negate requested)", field => value)
|
||||
else
|
||||
@logger.debug("want match", :regexp => re, :value => value])
|
||||
@logger.debug("want match", :regexp => re, :value => value)
|
||||
next unless re.match(value)
|
||||
@logger.debug("grep matched", field => value)
|
||||
end
|
||||
|
|
|
@ -62,7 +62,7 @@ class LogStash::Inputs::Syslog < LogStash::Inputs::Base
|
|||
rescue => e
|
||||
break if @shutdown_requested
|
||||
@logger.warn("syslog udp listener died",
|
||||
:address => "#{@host}:#{@port}"), :exception => e,
|
||||
:address => "#{@host}:#{@port}", :exception => e,
|
||||
:backtrace => e.backtrace)
|
||||
sleep(5)
|
||||
retry
|
||||
|
@ -77,7 +77,7 @@ class LogStash::Inputs::Syslog < LogStash::Inputs::Base
|
|||
rescue => e
|
||||
break if @shutdown_requested
|
||||
@logger.warn("syslog tcp listener died",
|
||||
:address => "#{@host}:#{@port}"), :exception => e,
|
||||
:address => "#{@host}:#{@port}", :exception => e,
|
||||
:backtrace => e.backtrace)
|
||||
sleep(5)
|
||||
retry
|
||||
|
|
|
@ -41,7 +41,7 @@ class LogStash::Inputs::Twitter < LogStash::Inputs::Base
|
|||
track(*@keywords) do |status|
|
||||
@logger.debug("twitter keyword track status", :status => status)
|
||||
#@logger.debug("Got twitter status from @#{status[:user][:screen_name]}")
|
||||
@logger.info("Got twitter status", :user => status["user"]["screen_name"]")
|
||||
@logger.info("Got twitter status", :user => status["user"]["screen_name"])
|
||||
e = to_event(status["text"], "http://twitter.com/#{status["user"]["screen_name"]}/status/#{status["id"]}")
|
||||
next unless e
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue