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 2016/11/27 10:29:26 UTC

logging-log4j2 git commit: Javadoc: Use the active voice. Add blank line.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master d73d85758 -> 286d8b380


Javadoc: Use the active voice. Add blank line.

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

Branch: refs/heads/master
Commit: 286d8b380aecde6f72c4fb4e3cf85d11d2717e32
Parents: d73d857
Author: Gary Gregory <ga...@gmail.com>
Authored: Sun Nov 27 02:29:24 2016 -0800
Committer: Gary Gregory <ga...@gmail.com>
Committed: Sun Nov 27 02:29:24 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/logging/log4j/core/layout/SyslogLayout.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/286d8b38/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
index 5d20c31..c3fc840 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/SyslogLayout.java
@@ -56,6 +56,7 @@ public final class SyslogLayout extends AbstractStringLayout {
      * Date format used if header = true.
      */
     private final SimpleDateFormat dateFormat = new SimpleDateFormat("MMM dd HH:mm:ss", Locale.ENGLISH);
+    
     /**
      * Host name used to identify messages from this appender.
      */
@@ -130,7 +131,7 @@ public final class SyslogLayout extends AbstractStringLayout {
     }
 
     /**
-     * Create a SyslogLayout.
+     * Creates a SyslogLayout.
      * @param facility The Facility is used to try to classify the message.
      * @param includeNewLine If true a newline will be appended to the result.
      * @param escapeNL Pattern to use for replacing newlines.