logstash-filter-ruby icon indicating copy to clipboard operation
logstash-filter-ruby copied to clipboard

Ruby exceptions log level

Open IIIEII opened this issue 6 years ago • 2 comments

Could you please add information about code block and event to debug log in case of ruby exception? It's mostly impossible to find problem using only error message (moreover sometimes it's empty).

IIIEII avatar Sep 20 '18 10:09 IIIEII

I plan to add an exception_code setting that will allow a user to provide custom action in the event of an exception. In this code setting a user should log what ever is appropriate based on the function that the main code setting is executing - i.e. fields of interest and exception message with some backtrace, etc.

guyboertje avatar Nov 01 '18 11:11 guyboertje

@guyboertje interesting idea!

colinsurprenant avatar Nov 01 '18 15:11 colinsurprenant