You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/03/29 19:11:11 UTC

[1/2] logging-log4j2 git commit: LOG4J2-1278 fix test that will break with unrolled varargs: with unrolled varargs only the parameters used in the pattern will be preserved

Repository: logging-log4j2
Updated Branches:
  refs/heads/LOG4J2-1278-gc-free-logger eae04d269 -> 15b69bf96


LOG4J2-1278	fix test that will break with unrolled varargs: with unrolled varargs only the parameters used in the pattern will be preserved


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/86f9ae34
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/86f9ae34
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/86f9ae34

Branch: refs/heads/LOG4J2-1278-gc-free-logger
Commit: 86f9ae344a3687a6e07d1fab49406c41f31d3b32
Parents: 591c584
Author: rpopma <rp...@apache.org>
Authored: Wed Mar 30 02:10:47 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Wed Mar 30 02:10:47 2016 +0900

----------------------------------------------------------------------
 .../logging/log4j/core/layout/CsvParameterLayoutTest.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/86f9ae34/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/CsvParameterLayoutTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/CsvParameterLayoutTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/CsvParameterLayoutTest.java
index 27a7318..5c80a01 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/CsvParameterLayoutTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/CsvParameterLayoutTest.java
@@ -113,10 +113,10 @@ public class CsvParameterLayoutTest {
     }
 
     private void logDebugNormalApi() {
-        root.debug(null, 1, 2, 3);
-        root.debug(null, 2, 3);
-        root.debug(null, 5, 6);
-        root.debug(null, 7, 8, 9, 10);
+        root.debug("{}{}{}", 1, 2, 3);
+        root.debug("{}{}{}", 2, 3);
+        root.debug("{}{}{}", 5, 6);
+        root.debug("{}{}{}", 7, 8, 9, 10);
     }
 
     private void logDebugObjectArrayMessage() {


[2/2] logging-log4j2 git commit: Merge remote-tracking branch 'remotes/origin/master' into LOG4J2-1278-gc-free-logger

Posted by rp...@apache.org.
Merge remote-tracking branch 'remotes/origin/master' into LOG4J2-1278-gc-free-logger


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/15b69bf9
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/15b69bf9
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/15b69bf9

Branch: refs/heads/LOG4J2-1278-gc-free-logger
Commit: 15b69bf96798fe823eb9e0000a32d83435e8b8ed
Parents: eae04d2 86f9ae3
Author: rpopma <rp...@apache.org>
Authored: Wed Mar 30 02:11:11 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Wed Mar 30 02:11:11 2016 +0900

----------------------------------------------------------------------
 .../logging/log4j/core/layout/CsvParameterLayoutTest.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------