GitHub user alvinlin123 opened a pull request:
https://github.com/apache/activemq/pull/281
AMQ-6930 Expose an environment variable to allow redirect stdout/stderr to
a file
This change does not modify the default behavior, the default behavior is
still to pipe stdout/stderr to /dev/null. User can specify a file using an
environment variable called `ACTIVEMQ_OUT` to redirect stdout/stderr to the
file.
This change also added and fixed some tests in
`assembly/src/test/scripts/init-script-testsuite`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alvinlin123/activemq amq-6930
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/281.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 #281
----
commit f3a8e882068803a3cdab338d3544b27a7808e0cc
Author: Alvin Lin <alvinlin@...>
Date: 2018-04-09T23:53:44Z
AMQ-6930 provide options to allow stdout/stderr of activemq process to be
redirect to a file using append mode
commit 6bb56decf881328f5595692ca17c1899f7f86a7b
Author: Alvin Lin <alvinlin@...>
Date: 2018-04-10T02:04:55Z
AMQ-6930 add test case
----
---