From 0eafea4640c92675b13e7c73e3c8bc59b26b02dd Mon Sep 17 00:00:00 2001 From: Alfonso Roa Date: Mon, 23 Sep 2024 11:04:59 +0200 Subject: [PATCH] Updated plugins. (#30) Added log4j2.properties to reduce logs in tests. --- tsumugi-server/pom.xml | 7 +++---- tsumugi-server/src/test/resources/log4j2.properties | 13 +++++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 tsumugi-server/src/test/resources/log4j2.properties diff --git a/tsumugi-server/pom.xml b/tsumugi-server/pom.xml index 675d519..25db6c8 100644 --- a/tsumugi-server/pom.xml +++ b/tsumugi-server/pom.xml @@ -20,7 +20,7 @@ 11 11 UTF-8 - 2.12.10 + 2.12.20 2.12 3.23.4 1.56.0 @@ -169,7 +169,7 @@ net.alchim31.maven scala-maven-plugin - 3.3.2 + 4.9.2 @@ -196,8 +196,6 @@ ${project.build.directory}/surefire-reports . TestSuiteReport.txt - - samples.AppTest @@ -248,6 +246,7 @@ org.apache.maven.plugins maven-shade-plugin + 3.6.0 false false diff --git a/tsumugi-server/src/test/resources/log4j2.properties b/tsumugi-server/src/test/resources/log4j2.properties new file mode 100644 index 0000000..d0c3cef --- /dev/null +++ b/tsumugi-server/src/test/resources/log4j2.properties @@ -0,0 +1,13 @@ +# Set everything to be logged to the console +status = error +name = ConsoleLogSparkTest + + +appender.console.type = Console +appender.console.name = consoleLogger +appender.console.layout.type = PatternLayout +appender.console.layout.pattern = %d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n + + +rootLogger.level = error +rootLogger.appenderRef.stdout.ref = consoleLogger