Package io.undertow.servlet
Annotation Interface ExceptionLog
Annotation that can be applied to exceptions to control how they are logged by Undertow.
Note that this will only take effect if the deployments error handler has not been changed.
- Author:
- Stuart Douglas
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe level at which to log stack traces.The default log level for this exception.
-
Element Details
-
category
String categoryThe category to log this exception under
-
-
-
value
Logger.Level valueThe default log level for this exception.- Default:
- ERROR
-
stackTraceLevel
Logger.Level stackTraceLevelThe level at which to log stack traces. If this is a higher level than the default then they will be logged by default at the default level.- Default:
- FATAL
-