Github user abhishekagarwal87 commented on the pull request:

    https://github.com/apache/storm/pull/1161#issuecomment-190696088
  
    In ConfigUtils.getLogDir() replace
    ```
    } else  {
                dir = concatIfNotNull(System.getProperty("storm.home")) + 
FILE_SEPARATOR + "logs";
    ```
    with
    ```
     } else  if (System.getProperty("storm.home") != null) {
                dir = System.getProperty("storm.home") + FILE_SEPARATOR + 
"logs";
            } else {
                dir = "logs";
    ```
    Revert the changes in defaults.yaml and keep the changes in pom.xml and 
supervisor test. 
    
    storm.home is not set and thus log dir is being set to /logs. With the 
above changes in test, it will be set to logs. So it should work. 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to