pipe output will not restart on EBADF errors

Description

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.

Activity

Show:
Philippe Weber
August 1, 2014, 8:46 AM

PR merged

Assignee

Logstash Developers

Reporter

Paweł Puterla

Labels

Affects versions

Configure