GitHub user joshelser opened a pull request:
https://github.com/apache/accumulo/pull/139
Log naming
Numerous changes on top of @dlmarion's in #138:
* Use a system property (since global) that points to Accumulo using it
* Update generic_logger.properties template
* Only set system property when instance for service is provided
* Default to "1" when NUM_TSERVERS isn't defined (instead of erroring)
* Restore original log names when single tserver is used
* Avoid duplicative numbers in log file names (e.g. tserver-1_1_fqdn...)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/joshelser/accumulo log-naming
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/accumulo/pull/139.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 #139
----
commit 208680f8517431997779e266764e84a08bcb7fe3
Author: Dave Marion <[email protected]>
Date: 2016-08-15T16:51:33Z
ACCUMULO-4406: Add instance number to .out and .err files
Rotate the logfiles with the instance numbers and only add numbered .out
and .err files when we have multiple tservers
Closes #138
commit 990684fe5b50291bb2c2b351a424499f5704265f
Author: Josh Elser <[email protected]>
Date: 2016-08-15T21:25:15Z
ACCUMULO-4406 Addendum to Dave's changes
* Use a system property (since global) that points to Accumulo using it
* Update generic_logger.properties template
* Only set system property when instance for service is provided
* Default to "1" when NUM_TSERVERS isn't defined (instead of erroring)
* Restore original log names when single tserver is used
* Avoid duplicative numbers in log file names (e.g. tserver-1_1_fqdn...)
----
---
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.
---