You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2015/06/18 21:12:19 UTC

incubator-geode git commit: (GEODE-38) Fix log4j2 configuration property value for Windows.

Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-38 19a58e3cf -> e653afd77


(GEODE-38) Fix log4j2 configuration property value for Windows.

Use log4j2XML.toURI().toString() to avoid StatusLogger error about
MalformedURLException: unknown protocol: c on Windows.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/e653afd7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/e653afd7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/e653afd7

Branch: refs/heads/feature/GEODE-38
Commit: e653afd778d97c712a9168c32398b2efa33ac5cc
Parents: 19a58e3
Author: Kirk Lund <kl...@pivotal.io>
Authored: Tue Jun 16 14:32:08 2015 -0700
Committer: Kirk Lund <kl...@pivotal.io>
Committed: Tue Jun 16 14:41:06 2015 -0700

----------------------------------------------------------------------
 .../management/internal/cli/shell/GfshInitFileJUnitTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e653afd7/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshInitFileJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshInitFileJUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshInitFileJUnitTest.java
index 7c6e986..9cbc9b9 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshInitFileJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshInitFileJUnitTest.java
@@ -80,7 +80,7 @@ public class GfshInitFileJUnitTest {
     File log4j2XML = temporaryFolder_Config.newFile("log4j2.xml");
     FileUtils.writeStringToFile(log4j2XML, "<Configuration/>", APPEND);
     System.setProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY,
-        log4j2XML.getAbsolutePath());
+        log4j2XML.toURI().toString());
   }
 
   /*