Annotation Type ExceptionLog


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @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 
      Modifier and Type Required Element Description
      java.lang.String category
      The category to log this exception under
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      org.jboss.logging.Logger.Level stackTraceLevel
      The level at which to log stack traces.
      org.jboss.logging.Logger.Level value
      The default log level for this exception.
    • Element Detail

      • category

        java.lang.String category
        The category to log this exception under
      • value

        org.jboss.logging.Logger.Level value
        The default log level for this exception.
        Default:
        org.jboss.logging.Logger.Level.ERROR
      • stackTraceLevel

        org.jboss.logging.Logger.Level stackTraceLevel
        The 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:
        org.jboss.logging.Logger.Level.FATAL