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/05 20:11:44 UTC
logging-log4j2 git commit: Fix file extension bug.
Repository: logging-log4j2
Updated Branches:
refs/heads/LOG4J2-1651 9490d11d0 -> 5465f5cf3
Fix file extension bug.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/5465f5cf
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/5465f5cf
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/5465f5cf
Branch: refs/heads/LOG4J2-1651
Commit: 5465f5cf39d55490b4b559625f9f3b1fe5dc8695
Parents: 9490d11
Author: Gary Gregory <gg...@apache.org>
Authored: Sat Nov 5 13:11:39 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Sat Nov 5 13:11:39 2016 -0700
----------------------------------------------------------------------
.../log4j/core/config/plugins/processor/PluginProcessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/5465f5cf/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java
index 797698f..aef88e0 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/processor/PluginProcessor.java
@@ -117,7 +117,7 @@ public class PluginProcessor extends AbstractProcessor {
System.err.println("pluginCacheFileFormats = " + pluginCacheFileFormats);
final Format[] formats = PluginCache.Format.parse(pluginCacheFileFormats, PluginCache.Format.DAT);
for (final Format format : formats) {
- final String fileName = PLUGIN_CACHE_FILE_BASE + "." + format.getExtension();
+ final String fileName = PLUGIN_CACHE_FILE_BASE + format.getExtension();
final FileObject fileObject = processingEnv.getFiler().createResource(StandardLocation.CLASS_OUTPUT,
Strings.EMPTY, fileName, elements);
try (final OutputStream out = fileObject.openOutputStream()) {