Author: rgoers
Date: Sat Jun 11 15:11:29 2011
New Revision: 1134669

URL: http://svn.apache.org/viewvc?rev=1134669&view=rev
Log:
Remove locale from formatted output to allow the test to work globally

Modified:
    
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/test/java/org/apache/logging/log4j/core/layout/RFC5424LayoutTest.java

Modified: 
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/test/java/org/apache/logging/log4j/core/layout/RFC5424LayoutTest.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/test/java/org/apache/logging/log4j/core/layout/RFC5424LayoutTest.java?rev=1134669&r1=1134668&r2=1134669&view=diff
==============================================================================
--- 
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/test/java/org/apache/logging/log4j/core/layout/RFC5424LayoutTest.java
 (original)
+++ 
logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers/log4j2-core/src/test/java/org/apache/logging/log4j/core/layout/RFC5424LayoutTest.java
 Sat Jun 11 15:11:29 2011
@@ -49,8 +49,7 @@ public class RFC5424LayoutTest {
     private static final String line3 = "ATM - - - filled mdc";
     private static final String line4 =
         "ATM - Audit [Transfer@18060 Amount=\"200.00\" FromAccount=\"123457\" 
ToAccount=\"123456\"]" +
-        "[RequestContext@18060 ipAddress=\"192.168.0.120\" locale=\"English 
(United States)\" " +
-        "loginId=\"JohnDoe\"] Transfer Complete";
+        "[RequestContext@18060 ipAddress=\"192.168.0.120\" 
loginId=\"JohnDoe\"] Transfer Complete";
 
     static ConfigurationFactory cf = new BasicConfigurationFactory();
 
@@ -77,7 +76,7 @@ public class RFC5424LayoutTest {
 
         // set up appender
         RFC5424Layout layout = RFC5424Layout.createLayout("Local0", "Event", 
"3692", "true", "RequestContext", "true",
-            "ATM", null, "key1, key2", null, null);
+            "ATM", null, "key1, key2, locale", null, null);
         ListAppender appender = new ListAppender("List", null, layout, true, 
false);
         appender.start();
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to