Make gretty samples compatible with logback 1.2.9
Explicitly reference the logback.xml file to prevent gretty from configuring the defaults using groovy. Issue gh-10642
This commit is contained in:
parent
0e06882b3f
commit
3a3399d388
|
@ -18,3 +18,7 @@ dependencies {
|
|||
runtime 'ch.qos.logback:logback-classic'
|
||||
runtime 'opensymphony:sitemesh'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -38,3 +38,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -18,3 +18,7 @@ dependencies {
|
|||
|
||||
runtime 'opensymphony:sitemesh'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -20,3 +20,7 @@ dependencies {
|
|||
|
||||
testCompile project(':spring-security-test')
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -27,3 +27,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -20,3 +20,7 @@ dependencies {
|
|||
|
||||
testCompile project(':spring-security-test')
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -39,3 +39,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -37,3 +37,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -29,3 +29,7 @@ dependencies {
|
|||
|
||||
providedCompile 'javax.servlet:javax.servlet-api'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -20,3 +20,7 @@ dependencies {
|
|||
runtime 'net.sourceforge.nekohtml:nekohtml'
|
||||
runtime 'opensymphony:sitemesh'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -17,3 +17,7 @@ dependencies {
|
|||
|
||||
runtime 'opensymphony:sitemesh'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -17,3 +17,7 @@ dependencies {
|
|||
|
||||
runtime 'opensymphony:sitemesh'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -9,3 +9,7 @@ dependencies {
|
|||
|
||||
testCompile project(':spring-security-test')
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -17,3 +17,7 @@ dependencies {
|
|||
|
||||
runtime 'opensymphony:sitemesh'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -65,6 +65,7 @@ gretty {
|
|||
sslKeyStorePath = keystore
|
||||
sslKeyStorePassword = password
|
||||
jvmArgs = ["-Djavax.net.ssl.trustStore=${keystore}", "-Djavax.net.ssl.trustStorePassword=${password}"]
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
||||
def casServer() {
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="WARN">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
|
||||
</configuration>
|
|
@ -53,4 +53,5 @@ gretty {
|
|||
sslKeyStorePath = keystore
|
||||
sslKeyStorePassword = password
|
||||
jvmArgs = ["-Djavax.net.ssl.trustStore=${keystore}", "-Djavax.net.ssl.trustStorePassword=${password}"]
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="WARN">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
|
||||
</configuration>
|
|
@ -41,3 +41,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -31,3 +31,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -26,3 +26,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="WARN">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
|
||||
</configuration>
|
|
@ -15,3 +15,7 @@ dependencies {
|
|||
|
||||
runtime 'opensymphony:sitemesh'
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="WARN">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
|
||||
</configuration>
|
|
@ -31,3 +31,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -29,3 +29,7 @@ dependencies {
|
|||
|
||||
integrationTestCompile seleniumDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -12,3 +12,7 @@ dependencies {
|
|||
runtime jstlDependencies
|
||||
runtime slf4jDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -14,3 +14,7 @@ dependencies {
|
|||
//jettyRun {
|
||||
// userRealms = [jettyRun.class.classLoader.loadClass('org.mortbay.jetty.security.HashUserRealm').newInstance('Preauth Realm' '$projectDir/realm.properties')]
|
||||
//}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -19,3 +19,7 @@ dependencies {
|
|||
}
|
||||
|
||||
eclipse.wtp.component.contextPath = 'servletapi'
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
|
@ -14,3 +14,7 @@ dependencies {
|
|||
runtime project(':spring-security-web')
|
||||
runtime jstlDependencies
|
||||
}
|
||||
|
||||
gretty {
|
||||
logbackConfigFile = "src/main/resources/logback.xml"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue