riptano / ccm

A script to easily create and destroy an Apache Cassandra cluster on localhost
Apache License 2.0
1.22k stars 303 forks source link

Solution for #372 , Add "showlogs" command and CCM_MULTITAIL_CMD environment #683

Closed nattochaduke-yahoo closed 6 years ago

nattochaduke-yahoo commented 6 years ago

372 Requested adding ccm option that shows nodes' information in a parallel manner.

We implemented that feature "showlogs". By default it shows every node's log by "multitail" command. By exporting command and options to CCM_MULTITAIL_CMD, you can execute any command and options to view the logs. If you want to specify nodes to be shown in a cluster, execute like $ ccm showlogs [node1, node2, ...]

ptnapoleon commented 6 years ago

Thanks for the PR! I left some feedback. Could you make those changes, and also fix the issues causing the Travis CI check to fail? Thank you.

ptnapoleon commented 6 years ago

Thanks! P.S. If you include "Closes #XYZ" such as Closes #372 in your PR title or a commit message, github automatically closes the matching issue.