GitHub user tomjiang1987 opened a pull request:
https://github.com/apache/kafka/pull/953
In daemon mode,redirect stdout to /dev/null
when start in deamon mode,don't output console to file,because the console
output file will keep increased. so redirect stdout to /dev/null.
I also wonder the meaning of "< /dev/null" in the old file,if someone can
answer.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tomjiang1987/kafka run-class-script-log-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/953.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #953
----
commit 3318cdcb07c1635794eef74f8e82d7cc06f62e6f
Author: tao jiang <[email protected]>
Date: 2016-02-23T09:27:18Z
in daemon mode,rederect stdout to /dev/null
----
---
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.
---