This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch ScopedContext-replace-with-interface
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit b6638b0e367e7369530e241c6b79512712a2d94a
Author: Ralph Goers <[email protected]>
AuthorDate: Wed Apr 3 21:07:28 2024 -0700

    Ensure unit test uses a unique file name
---
 .../logging/log4j/core/appender/routing/JsonRoutingAppender2Test.java   | 2 +-
 log4j-core-test/src/test/resources/log4j-routing2.json                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/routing/JsonRoutingAppender2Test.java
 
b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/routing/JsonRoutingAppender2Test.java
index 2b53e9e6ce..55dea07c5d 100644
--- 
a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/routing/JsonRoutingAppender2Test.java
+++ 
b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/routing/JsonRoutingAppender2Test.java
@@ -34,7 +34,7 @@ import org.junit.rules.RuleChain;
  */
 public class JsonRoutingAppender2Test {
     private static final String CONFIG = "log4j-routing2.json";
-    private static final String LOG_FILENAME = 
"target/rolling1/rollingtest-Unknown.log";
+    private static final String LOG_FILENAME = 
"target/rolling1/routingtest2-Unknown.log";
 
     private final LoggerContextRule loggerContextRule = new 
LoggerContextRule(CONFIG);
 
diff --git a/log4j-core-test/src/test/resources/log4j-routing2.json 
b/log4j-core-test/src/test/resources/log4j-routing2.json
index baf475ad07..b98451450b 100644
--- a/log4j-core-test/src/test/resources/log4j-routing2.json
+++ b/log4j-core-test/src/test/resources/log4j-routing2.json
@@ -16,7 +16,7 @@
  */
 { "configuration": { "status": "error", "name": "RoutingTest",
     "properties": {
-      "property": { "name": "filename", "value" : 
"target/rolling1/rollingtest-$${sd:type}.log" }
+      "property": { "name": "filename", "value" : 
"target/rolling1/routingtest2-$${sd:type}.log" }
     },
     "ThresholdFilter": { "level": "debug" },
     "appenders": {

Reply via email to