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 07:06:20 UTC
logging-log4j2 git commit: Better file extension.
Repository: logging-log4j2
Updated Branches:
refs/heads/LOG4J2-1651 f67b4c134 -> d99d0393f
Better file extension.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/d99d0393
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/d99d0393
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/d99d0393
Branch: refs/heads/LOG4J2-1651
Commit: d99d0393fb6822892a970bde63a6749b8c81e7f1
Parents: f67b4c1
Author: Gary Gregory <gg...@apache.org>
Authored: Sat Nov 5 00:06:16 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Sat Nov 5 00:06:16 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/d99d0393/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 840a389..797698f 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.toString().toLowerCase(Locale.ROOT);
+ 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()) {