Github user zhuoliu commented on the pull request:
https://github.com/apache/storm/pull/822#issuecomment-163488283
Hi @harshach , the main reasons we change log location are two-fold: 1) we
want to separate the daemon logs from worker logs for better namespace and
permission management; 2) the workers-artifacts directory are beyond "just
logs", it appears more like a drop-box for each worker, containing log files,
heapdump, gc files, and other possible files users may need to dump.
It will be one line change to "config/worker-artifacts-root" function if we
want to place worker-artifacts under storm-home/logs/. In that way it will look
as follows. In our opinion, it would be preferable to let workers-artifacts to
stay with storm-local/workers, worker-users.
We can discuss which one is more appropriate.
storm-home/logs/
------supervisor.log
------nimbus.log
------workers-artifacts/
-----------topo1/
------------------port1/
------------------port2/
------------------------worker.log
------------------------worker.log.err
------------------------gc.log
---
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 [email protected] or file a JIRA ticket
with INFRA.
---