logstash/log4j-jsonevent-layout

private boolean activeIgnoreThrowable = ignoreThrowable; not used but somehow essential

Opened this issue · 1 comments

The line of code in the title (private boolean activeIgnoreThrowable = ignoreThrowable;) brings up a warning in Eclipse because it is not used by anything. However, if you comment it out, you are left with an error that doesn't seem to be fixable except for to re-include that line

I figured out a way to get the code to run without it. Delete that line, and then line 127. So basically, you can delete lines 23 and 127 with no repercussions as far as I can tell. I've modified this to better suit what I need but after taking those lines out it still works perfectly