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 2015/10/19 14:50:52 UTC
logging-log4j2 git commit: getFileName() is the same as getName()
here, so do not use it twice.
Repository: logging-log4j2
Updated Branches:
refs/heads/master b23b7bbb5 -> 3c9024773
getFileName() is the same as getName() here, so do not use it twice.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/3c902477
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/3c902477
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/3c902477
Branch: refs/heads/master
Commit: 3c9024773052fb7231ab20b12e8af9961f34b669
Parents: b23b7bb
Author: ggregory <gg...@apache.org>
Authored: Mon Oct 19 05:50:29 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Oct 19 05:50:29 2015 -0700
----------------------------------------------------------------------
.../logging/log4j/core/appender/MemoryMappedFileManager.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/3c902477/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java
index 614b75f..9bc5d48 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/MemoryMappedFileManager.java
@@ -126,8 +126,8 @@ public class MemoryMappedFileManager extends OutputStreamManager {
}
protected void logError(String message, Throwable throwable) {
- Message m = LOGGER.getMessageFactory().newMessage("{} {} {} {}: {}",
- getClass().getSimpleName(), getName(), message, getFileName(), throwable);
+ Message m = LOGGER.getMessageFactory().newMessage("{} {} {}: {}",
+ getClass().getSimpleName(), getName(), message, throwable);
LOGGER.error(m, throwable);
}