OpenSearch/qa
Jason Tedor 0519fa223c
Ensure logging is configured for CLI commands
Any CLI commands that depend on core Elasticsearch might touch classes
(directly or indirectly) that depends on logging. If they do this and
logging is not configured, Log4j will dump status error messages to the
console. As such, we need to ensure that any such CLI command configures
logging (with a trivial configuration that dumps log messages to the
console). Previously we did this in the base CLI command but with the
refactoring of this class out of core Elasticsearch, we no longer
configure logging there (since we did not want this class to depend on
settings and logging). However, this meant for some CLI commands (like
the plugin CLI) we were no longer configuring logging. This commit adds
base classes between the low-level command and multi-command classes
that ensure that logging is configured. Any CLI command that depends on
core Elasticsearch should use this infrastructure to ensure logging is
configured. There is one exception to this: Elasticsearch itself because
it takes reponsibility into its own hands for configuring logging from
Elasticsearch settings and log4j2.properties. We preserve this special
status.

Relates #27523
2017-11-25 11:40:08 -05:00
..
ccs-unavailable-clusters Cross Cluster Search: make remote clusters optional (#27182) 2017-11-21 11:41:47 +01:00
evil-tests Ensure logging is configured for CLI commands 2017-11-25 11:40:08 -05:00
full-cluster-restart Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
mixed-cluster Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
multi-cluster-search Update version check for CCS optional remote clusters 2017-11-21 16:52:45 +01:00
no-bootstrap-tests Remove the single argument Environment constructor (#27235) 2017-11-04 13:25:09 +00:00
query-builder-bwc Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
reindex-from-old Revert shading for the low level rest client (#26367) 2017-08-25 14:13:12 -05:00
rolling-upgrade Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
smoke-test-client Use nio transport in test clusters (#25986) 2017-08-01 16:19:31 -05:00
smoke-test-http Deguice ActionFilter (#26691) 2017-09-20 10:30:21 +02:00
smoke-test-ingest-disabled Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-ingest-with-all-dependencies Add support for parsing inline script (#23824) (#26846) 2017-10-11 09:15:37 -07:00
smoke-test-multinode Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-plugins Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
smoke-test-reindex-with-all-modules Automatically prepare indices for splitting (#27451) 2017-11-23 09:48:54 +01:00
smoke-test-tribe-node Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
vagrant [Test] Change Elasticsearch startup timeout to 120s in packaging tests 2017-11-15 11:58:47 +01:00
verify-version-constants Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00:00
wildfly Revert shading for the low level rest client (#26367) 2017-08-25 14:13:12 -05:00