You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2020/09/12 18:29:38 UTC
[logging-log4j2] branch master updated: Fix typos in config file
This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new a1d7bea Fix typos in config file
a1d7bea is described below
commit a1d7beaa06be115015874b0d2b1544f2604b285e
Author: Matt Sicker <bo...@gmail.com>
AuthorDate: Sat Sep 12 13:29:23 2020 -0500
Fix typos in config file
Signed-off-by: Matt Sicker <bo...@gmail.com>
---
.../java/org/apache/logging/log4j/core/config/FileOutputTest.java | 2 +-
log4j-core/src/test/resources/log4j-filetest.xml | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
index 37fbe82..6e6094c 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/FileOutputTest.java
@@ -27,7 +27,7 @@ import java.nio.file.Paths;
import static org.junit.jupiter.api.Assertions.assertTrue;
-@CleanUpFiles("target/status.log")
+@CleanUpFiles({"target/status.log", "target/test.log"})
public class FileOutputTest {
@Test
diff --git a/log4j-core/src/test/resources/log4j-filetest.xml b/log4j-core/src/test/resources/log4j-filetest.xml
index de49d0f..c376d4c 100644
--- a/log4j-core/src/test/resources/log4j-filetest.xml
+++ b/log4j-core/src/test/resources/log4j-filetest.xml
@@ -44,15 +44,15 @@
<KeyValuePair key="test" value="123"/>
</ThreadContextMapFilter>
<AppenderRef ref="STDOUT"/>
- </Logger>>
+ </Logger>
<Logger name="org.apache.logging.log4j.test2" level="debug" additivity="false">
<AppenderRef ref="File"/>
- </Logger>>
+ </Logger>
<Root level="error">
<AppenderRef ref="STDOUT"/>
</Root>
</Loggers>
-</Configuration>
\ No newline at end of file
+</Configuration>