pipe output will not restart on EBADF errors
Description
Gliffy Diagrams
Activity
Show:

Philippe Weber August 1, 2014 at 8:46 AM
PR merged
Fixed
Details
Details
Assignee

Reporter

Labels
Affects versions
Created January 22, 2014 at 12:19 PM
Updated August 1, 2014 at 8:46 AM
Resolved August 1, 2014 at 8:46 AM
The author probably wanted pipe.rb output plugin to restart pipe command on couple known errors:
rescue IOError, Errno::EPIPE => e
but there is lack of EBADF which occur on eg piped command restart.
Currently the behaviour is that logstash instance exits; propsed commit will allow plugin to restart pipe command and continue output.