mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
debug log each event we generate
This commit is contained in:
parent
b07c174856
commit
0039975231
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ class LogStash::Inputs::Tcp < LogStash::Inputs::Base
|
|||
"@tags" => [@type],
|
||||
})
|
||||
e.source = "tcp://#{@host}:#{@port}/client/#{peer}"
|
||||
@logger.debug(["Received message from #{peer}"], e)
|
||||
output_queue << e
|
||||
end # loop do
|
||||
rescue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue