mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- set thread name for inputs by default
This commit is contained in:
parent
9a7f67e99f
commit
0ecb528612
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ class LogStash::Agent
|
|||
@inputs.each do |input|
|
||||
@logger.info(["Starting input", input])
|
||||
@threads[input] = Thread.new(input_target) do |input_target|
|
||||
LogStash::Util::set_thread_name("input|#{input.inspect}")
|
||||
input.logger = @logger
|
||||
input.register
|
||||
ready_queue << input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue