Github user abhishekagarwal87 commented on the pull request:

    https://github.com/apache/storm/pull/1161#issuecomment-190670626
  
    the logs directory resolves to current path (from where the command runs) 
and not the storm home e.g. I set the `storm.log.dir: logs` in my defaults.yaml 
and ran it from my home directory. the logs were created inside the home 
directory. You will have to do something like this in getLogDir() function in 
ConfigUtils 
    ```
    if (new File(dir).isAbsolute()) {
                    return dir;
                } else {
                    return concatIfNotNull(System.getProperty("storm.home")) + 
FILE_SEPARATOR + dir);
                }
    ```



---
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