mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
show backtrace in debug mode
This commit is contained in:
parent
67f271962e
commit
6230598db3
1 changed files with 2 additions and 0 deletions
|
@ -319,6 +319,8 @@ class LogStash::Agent
|
|||
end
|
||||
rescue Exception => e
|
||||
@logger.warn(["Output #{output.to_s} thread exception", e])
|
||||
@logger.debug(["Output #{output.to_s} thread exception backtrace",
|
||||
e.backtrace])
|
||||
retry
|
||||
end
|
||||
end # Thread.new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue