fix debug logging messages with thread values

Fixes #7954
This commit is contained in:
Joao Duarte 2017-08-09 11:24:01 +01:00 committed by João Duarte
parent a9218daa65
commit f17b2eb6c2

View file

@ -802,7 +802,7 @@ module LogStash; class Pipeline < BasePipeline
def default_logging_keys(other_keys = {})
keys = super
keys[:thread] = thread.inspect if thread
keys[:thread] ||= thread.inspect if thread
keys
end