Annotation Type TestLogging
-
@Retention(RUNTIME) @Target({PACKAGE,TYPE,METHOD}) public @interface TestLogging
Annotation used to set a custom log level for controlling logging behavior in tests. Do not use this annotation when investigating test failures; instead, useTestIssueLogging
. 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.