Annotation Type TestIssueLogging


  • @Retention(RUNTIME)
    @Target({PACKAGE,TYPE,METHOD})
    public @interface TestIssueLogging
    Annotation used to set a custom log level when investigating test failures. Do not use this annotation to explicitly control the logging level in tests; instead, use TestLogging. It supports multiple logger:level comma-separated key-value pairs of logger:level (e.g., org.elasticsearch.cluster.metadata:TRACE). Use the _root keyword to set the root logger level.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String issueUrl
      This property is used to link to the open test issue under investigation.
      java.lang.String value
      A comma-separated list of key-value pairs of logger:level.
    • Element Detail

      • value

        java.lang.String value
        A comma-separated list of key-value pairs of logger:level. For each key-value pair of logger:level, the test framework will set the logging level of the specified logger to the specified level.
        Returns:
        the logger:level pairs
      • issueUrl

        java.lang.String issueUrl
        This property is used to link to the open test issue under investigation.
        Returns:
        the issue link