[ 
https://issues.apache.org/jira/browse/GEODE-4078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16288277#comment-16288277
 ] 

ASF GitHub Bot commented on GEODE-4078:
---------------------------------------

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:
[email protected]


> Display full path when locator0vIews.log cannot be opened
> ---------------------------------------------------------
>
>                 Key: GEODE-4078
>                 URL: https://issues.apache.org/jira/browse/GEODE-4078
>             Project: Geode
>          Issue Type: Improvement
>          Components: locator, logging
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>
> Tests are often failing with an error such as:
> {{Could not open log file "locator0views.log"}}
> Just add the absolute path to help with debugging.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to