Fix setup so springweb tests produce appropriate logs
MODIFY
dd-java-agent/instrumentation/spring-web/spring-web.gradle
dd-java-agent/instrumentation/spring-web/spring-web.gradle
@@ -32,7 +32,7 @@ dependencies {
testCompile group: 'javax.validation', name: 'validation-api', version: '1.1.0.Final'
testCompile group: 'org.hibernate', name: 'hibernate-validator', version: '5.4.2.Final'
- testCompile group: 'org.spockframework', name: 'spock-spring', version: '1.1-groovy-2.4'
+ testCompile group: 'org.spockframework', name: 'spock-spring', version: "$versions.spock"
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '1.5.17.RELEASE'
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '1.5.17.RELEASE'

ADD
dd-java-agent/instrumentation/spring-web/src/test/resources/logback.xml
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+
+ <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>
+ %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+ </Pattern>
+ </layout>
+ </appender>
+
+ <root level="WARN">
+ <appender-ref ref="console"/>
+ </root>
+
+ <logger name="datadog" level="debug"/>
+
+</configuration>

Fix setup so springweb tests produce appropriate logs