Repository: logging-log4j2
Updated Branches:
  refs/heads/release-2.x 092beff16 -> effd3933f


[LOG4J2-2476] org.apache.log4j.SimpleLayout missing in log4j-1.2-api.
Programmatic compatibility.

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

Branch: refs/heads/release-2.x
Commit: effd3933f0d7cf31bc3531f4ed776908244d78e8
Parents: 092beff
Author: Gary Gregory <[email protected]>
Authored: Thu Oct 18 20:25:24 2018 -0600
Committer: Gary Gregory <[email protected]>
Committed: Thu Oct 18 20:25:24 2018 -0600

----------------------------------------------------------------------
 log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/effd3933/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java
----------------------------------------------------------------------
diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java 
b/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java
index 1960874..dbd2291 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/Layout.java
@@ -24,7 +24,7 @@ import org.apache.logging.log4j.util.Strings;
  */
 public abstract class Layout {
 
-    public final static String LINE_SEP = System.getProperty("line.separator");
+    public final static String LINE_SEP = Strings.LINE_SEPARATOR;
 
     /** Note that the line.separator property can be looked up even by 
applets. */
     public static final int LINE_SEP_LEN = Strings.LINE_SEPARATOR.length();

Reply via email to