UNDERTOW-250 Add an annotation to control how exceptions are logged