Make gretty samples compatible with logback 1.2.9

Closes gh-10643
This commit is contained in:
Eleftheria Stein 2021-12-20 19:06:45 +02:00
parent fa5b8c6090
commit a6cd8ba142
30 changed files with 146 additions and 0 deletions

View File

@ -18,3 +18,7 @@ dependencies {
runtime 'ch.qos.logback:logback-classic'
runtime 'opensymphony:sitemesh'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -38,3 +38,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -18,3 +18,7 @@ dependencies {
runtime 'opensymphony:sitemesh'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -20,3 +20,7 @@ dependencies {
testCompile project(':spring-security-test')
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -27,3 +27,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -20,3 +20,7 @@ dependencies {
testCompile project(':spring-security-test')
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -39,3 +39,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -37,3 +37,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -29,3 +29,7 @@ dependencies {
providedCompile 'javax.servlet:javax.servlet-api'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -20,3 +20,7 @@ dependencies {
runtime 'net.sourceforge.nekohtml:nekohtml'
runtime 'opensymphony:sitemesh'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -17,3 +17,7 @@ dependencies {
runtime 'opensymphony:sitemesh'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -17,3 +17,7 @@ dependencies {
runtime 'opensymphony:sitemesh'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -9,3 +9,7 @@ dependencies {
testCompile project(':spring-security-test')
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -17,3 +17,7 @@ dependencies {
runtime 'opensymphony:sitemesh'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -54,6 +54,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() {

View File

@ -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>

View File

@ -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"
}

View File

@ -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>

View File

@ -41,3 +41,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -31,3 +31,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -26,3 +26,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -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>

View File

@ -15,3 +15,7 @@ dependencies {
runtime 'opensymphony:sitemesh'
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -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>

View File

@ -31,3 +31,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -29,3 +29,7 @@ dependencies {
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -12,3 +12,7 @@ dependencies {
runtime jstlDependencies
runtime slf4jDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -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"
}

View File

@ -19,3 +19,7 @@ dependencies {
}
eclipse.wtp.component.contextPath = 'servletapi'
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}

View File

@ -14,3 +14,7 @@ dependencies {
runtime project(':spring-security-web')
runtime jstlDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}