Caleb Cushing
05/22/2024, 12:45 PMtasks.withType<Test>().configureEach {
systemProperty("jdk.httpclient.HttpClient.log", "all")
}
Vampire
05/22/2024, 1:07 PMCaleb Cushing
05/22/2024, 1:09 PMCaleb Cushing
05/22/2024, 1:09 PMCaleb Cushing
05/22/2024, 1:09 PMCaleb Cushing
05/22/2024, 1:10 PMVampire
05/22/2024, 1:12 PMVampire
05/22/2024, 1:12 PMCaleb Cushing
05/22/2024, 1:13 PMVampire
05/22/2024, 1:14 PMCaleb Cushing
05/22/2024, 1:15 PMCaleb Cushing
05/22/2024, 1:15 PMVampire
05/22/2024, 1:15 PMVampire
05/22/2024, 1:15 PMlog4j-jpl
for those loggersVampire
05/22/2024, 1:15 PMVampire
05/22/2024, 1:16 PMjava.util.logging
Caleb Cushing
05/22/2024, 1:16 PMVampire
05/22/2024, 1:17 PMVampire
05/22/2024, 1:18 PMCaleb Cushing
05/22/2024, 1:18 PMCaleb Cushing
05/22/2024, 1:33 PMtasks.withType<Test>().configureEach {
systemProperty("java.util.logging.manager", "org.apache.logging.log4j.jul.LogManager")
systemProperty("jdk.httpclient.HttpClient.log", "all")
}
nope... 😕Caleb Cushing
05/22/2024, 1:33 PMlogging.level.root = trace
Vampire
05/22/2024, 1:38 PMlog4j-jpl
?Caleb Cushing
05/22/2024, 1:41 PMCaleb Cushing
05/22/2024, 1:42 PMorg.apache.logging.log4j:log4j-api:2.21.1=runtimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-api:2.23.1=spotbugs
org.apache.logging.log4j:log4j-core:2.21.1=runtimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-core:2.23.1=spotbugs
org.apache.logging.log4j:log4j-jpl:2.21.1=testRuntimeClasspath
org.apache.logging.log4j:log4j-jul:2.21.1=runtimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-slf4j2-impl:2.21.1=runtimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
Caleb Cushing
05/22/2024, 1:47 PMVampire
05/22/2024, 1:57 PMCaleb Cushing
05/22/2024, 2:02 PMCaleb Cushing
05/22/2024, 2:02 PMCaleb Cushing
05/22/2024, 2:03 PMapplication.properties
might not set this early enough
@TestPropertySource(properties = { "logging.level.jdk=info" })
Caleb Cushing
05/22/2024, 2:05 PMCaleb Cushing
05/22/2024, 2:15 PMtasks.withType<Test>().configureEach {
systemProperty("jdk.httpclient.HttpClient.log", "all")
}
add log4j-jpl
set this regardless of what the root logger is set to
logging.level.jdk=info
Caleb Cushing
05/22/2024, 4:33 PMCaleb Cushing
05/22/2024, 4:33 PM