From 4e1f8258aef323a4a32ec5bbf35a00240c6e0c12 Mon Sep 17 00:00:00 2001 From: Jordan Sissel Date: Tue, 10 May 2016 12:07:29 -0700 Subject: [PATCH] Log a string instead of an exception instance to avoid serialization problems. Fixes #5277 --- logstash-core/lib/logstash/agent.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logstash-core/lib/logstash/agent.rb b/logstash-core/lib/logstash/agent.rb index 7995492b7b5..02e18a5dbfe 100644 --- a/logstash-core/lib/logstash/agent.rb +++ b/logstash-core/lib/logstash/agent.rb @@ -480,7 +480,7 @@ def start_pipeline(id) begin pipeline.run rescue => e - @logger.error("Pipeline aborted due to error", :exception => e, :backtrace => e.backtrace) + @logger.error("Pipeline aborted due to error", :exception => e.class.name, :backtrace => e.backtrace) end end sleep 0.01 until pipeline.ready?