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/01/04 22:52:23 UTC

logging-log4j2 git commit: Fix typo in error message.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 235871e43 -> dd079d10f


Fix typo in error message.

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

Branch: refs/heads/master
Commit: dd079d10f9f03bf510262d1e96cac04789749ce0
Parents: 235871e
Author: ggregory <gg...@apache.org>
Authored: Mon Jan 4 13:52:19 2016 -0800
Committer: ggregory <gg...@apache.org>
Committed: Mon Jan 4 13:52:19 2016 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/logging/log4j/core/net/SmtpManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/dd079d10/log4j-core/src/main/java/org/apache/logging/log4j/core/net/SmtpManager.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/SmtpManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/SmtpManager.java
index 51d5f08..7727457 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/SmtpManager.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/SmtpManager.java
@@ -288,7 +288,7 @@ public class SmtpManager extends AbstractManager {
                 .setRecipients(Message.RecipientType.TO, data.to).setRecipients(Message.RecipientType.CC, data.cc)
                 .setRecipients(Message.RecipientType.BCC, data.bcc).setSubject(data.subject).getMimeMessage();
         } catch (final MessagingException e) {
-            logError("could not set SmtpAppender message options", e);
+            logError("Could not set SmtpAppender message options", e);
             message = null;
         }
     }