mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 21:38:15 +00:00
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:
parent
8089210815
commit
84ac72dced
@ -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'
|
||||
|
7
qa/os/src/test/resources/log4j2-test.properties
Normal file
7
qa/os/src/test/resources/log4j2-test.properties
Normal 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
|
Loading…
x
Reference in New Issue
Block a user