Fix log4j config for :qa:os tests (#62234)

The log4j config in :qa:os was broken because it referenced an appender plugin that is not
on that project's classpath. Resolve this by adding a dedicated logging config and removing
the copy step.
This commit is contained in:
Rory Hunter 2020-09-15 09:16:47 +01:00 committed by Rory Hunter
parent 8089210815
commit 84ac72dced
2 changed files with 7 additions and 4 deletions

View File

@ -61,10 +61,6 @@ tasks.register('destructivePackagingTest') {
dependsOn 'destructiveDistroTest'
}
processTestResources {
from project(":test:framework").file("src/main/resources/log4j2-test.properties")
}
subprojects { Project platformProject ->
tasks.register('packagingTest') {
dependsOn 'distroTest'

View File

@ -0,0 +1,7 @@
appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%test_thread_info]%marker %m%n
rootLogger.level = ${sys:tests.es.logger.level:-info}
rootLogger.appenderRef.console.ref = console