You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2018/10/19 02:24:06 UTC

logging-log4j2 git commit: [LOG4J2-2476] org.apache.log4j.SimpleLayout missing in log4j-1.2-api. Programmatic compatibility.

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


[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/092beff1
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/092beff1
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/092beff1

Branch: refs/heads/release-2.x
Commit: 092beff16113dec6de7f6cf485ca6e58869609f4
Parents: 4345f35
Author: Gary Gregory <gg...@rocketsoftware.com>
Authored: Thu Oct 18 20:24:02 2018 -0600
Committer: Gary Gregory <gg...@rocketsoftware.com>
Committed: Thu Oct 18 20:24:02 2018 -0600

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


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/092beff1/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 2ef4b1c..1960874 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,6 +24,8 @@ import org.apache.logging.log4j.util.Strings;
  */
 public abstract class Layout {
 
+    public final static String LINE_SEP = System.getProperty("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();