[
https://issues.apache.org/jira/browse/KAFKA-18834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928509#comment-17928509
]
Chia-Ping Tsai commented on KAFKA-18834:
----------------------------------------
`testSetLevelDefaultScope` should set the log level explicitly.
> Fix LoggingResourceTest#testSetLevelDefaultScope
> ------------------------------------------------
>
> Key: KAFKA-18834
> URL: https://issues.apache.org/jira/browse/KAFKA-18834
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
>
> the error can be reproduced by following command.
> ```
> ./gradlew cleanTest connect:runtime:test --tests
> LoggersTest.testSetLevelWithValidRootLoggerNames --tests
> LoggingResourceTest.testSetLevelDefaultScope -PmaxParallelForks=1
> ```
> the root cause is `testSetLevelWithValidRootLoggerNames` change all level to
> ERROR, so testSetLevelDefaultScope running subsequently can't see any WARN
> level log.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)