(subparsers)
| 954 | |
| 955 | |
| 956 | def initialize_logviewer_subcommand(subparsers): |
| 957 | command_help = """ |
| 958 | Launches the log viewer daemon. It provides a web interface for viewing |
| 959 | storm log files. This command should be run under supervision with a |
| 960 | tool like daemontools or monit. |
| 961 | |
| 962 | See Setting up a Storm cluster for more information. |
| 963 | (https://storm.apache.org/documentation/Setting-up-a-Storm-cluster) |
| 964 | """ |
| 965 | sub_parser = subparsers.add_parser("logviewer", help=command_help, formatter_class=SortingHelpFormatter) |
| 966 | sub_parser.set_defaults(func=logviewer) |
| 967 | add_common_options(sub_parser) |
| 968 | |
| 969 | |
| 970 | def initialize_drpc_client_subcommand(subparsers): |
no test coverage detected