AnsweredAssumed Answered

How do I use ExceptionErrorReporter?

Question asked by JohnGregg on Feb 2, 2011
Latest reply on Nov 18, 2015 by Hiko_Davis

I tried to implement ExceptionErrorReporter but I'm suspicious that I did it wrong. I don't completely understand the docs.

I started with this and it works as advertised:

SetFlag: ABC
IdentifyMatchingClassesAs:*BindingStub ABC
TraceComplexMethodsIfFlagged: ABC BackendMarker "Backends|ABC|{packageandclassname}|{method}"
TurnOn: ABC

In another file, I added this:

TraceComplexMethodsIfFlagged: ABC ExceptionErrorReporter "Backends|ABC|{packageandclassname}|{method}:Errors Per Interval"

I did this for other backends also (weeks ago,) but have never seen Errors Per Interval be anything other than 0. When I made the change, I saw Wily pick it up and process it successfully, according to the logs. There should be some occasional read timeouts and connect exceptions thrown out of the instrumented methods.

Am I doing this correctly?