chia7712 commented on code in PR #15473: URL: https://github.com/apache/kafka/pull/15473#discussion_r1512938465
########## connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetrics.java: ########## @@ -431,6 +432,7 @@ public interface LiteralSupplier<T> { * @param args the arguments */ public static void main(String[] args) { + LogManager.shutdown(); Review Comment: > And I think it's because their classpath set to the sourceSets.main.runtimeClasspath so instead of close the logger directly I would leverage this to eliminate unexpected log info pardon me, why this works? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org