jdeppe-pivotal closed pull request #1154: GEODE-4078: Display full path when locator view log cannot be opened
URL: https://github.com/apache/geode/pull/1154
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/geode-core/src/main/java/org/apache/geode/distributed/internal/ProductUseLog.java b/geode-core/src/main/java/org/apache/geode/distributed/internal/ProductUseLog.java
index 5fda5313da..8ef6fc5fcb 100644
— a/geode-core/src/main/java/org/apache/geode/distributed/internal/ProductUseLog.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/internal/ProductUseLog.java
@@ -119,7 +119,7 @@ private synchronized void createLogWriter()
{
fos = new FileOutputStream(productUseLogFile, true);
}
catch (FileNotFoundException ex)
{
String s = LocalizedStrings.InternalDistributedSystem_COULD_NOT_OPEN_LOG_FILE_0
- .toLocalizedString(productUseLogFile);
+ .toLocalizedString(productUseLogFile.getAbsolutePath());
throw new GemFireIOException(s, ex);
}
PrintStream out = new PrintStream(fos);
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Commit 33129b12378649d2e121877b4076b6aefc4fd318 in geode's branch refs/heads/develop from jens.deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=33129b1 ]
GEODE-4078: Display full path when locator view log cannot be opened (#1154)