Return-Path: X-Original-To: apmail-geode-commits-archive@minotaur.apache.org Delivered-To: apmail-geode-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA46B17869 for ; Thu, 18 Jun 2015 19:12:43 +0000 (UTC) Received: (qmail 45598 invoked by uid 500); 18 Jun 2015 19:12:43 -0000 Delivered-To: apmail-geode-commits-archive@geode.apache.org Received: (qmail 45569 invoked by uid 500); 18 Jun 2015 19:12:43 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 45560 invoked by uid 99); 18 Jun 2015 19:12:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 19:12:43 +0000 X-ASF-Spam-Status: No, hits=-2000.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 18 Jun 2015 19:10:32 +0000 Received: (qmail 44845 invoked by uid 99); 18 Jun 2015 19:12:19 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 19:12:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6CDD0E3C9A; Thu, 18 Jun 2015 19:12:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: klund@apache.org To: commits@geode.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-geode git commit: (GEODE-38) Fix log4j2 configuration property value for Windows. Date: Thu, 18 Jun 2015 19:12:19 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org 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 Authored: Tue Jun 16 14:32:08 2015 -0700 Committer: Kirk Lund 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, "", APPEND); System.setProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY, - log4j2XML.getAbsolutePath()); + log4j2XML.toURI().toString()); } /*