def logviewer():
    'Syntax: [storm logviewer]\n\n    Launches the log viewer daemon. It provides a web interface for viewing\n    storm log files. This command should be run under supervision with a\n    tool like daemontools or monit.\n\n    See Setting up a Storm cluster for more information.\n    (http://storm.apache.org/documentation/Setting-up-a-Storm-cluster)\n    '
    cppaths = [CLUSTER_CONF_DIR]
    jvmopts = (parse_args(confvalue('logviewer.childopts', cppaths)) + ['-Djava.deserialization.disabled=true', '-Dlogfile.name=logviewer.log', ('-Dlog4j.configurationFile=' + os.path.join(get_log4j2_conf_dir(), 'cluster.xml'))])
    allextrajars = get_wildcard_dir(STORM_WEBAPP_LIB_DIR)
    allextrajars.append(CLUSTER_CONF_DIR)
    exec_storm_class('org.apache.storm.daemon.logviewer.LogviewerServer', jvmtype='-server', daemonName='logviewer', jvmopts=jvmopts, extrajars=allextrajars)
Syntax: [storm logviewer]

Launches the log viewer daemon. It provides a web interface for viewing
storm log files. This command should be run under supervision with a
tool like daemontools or monit.

See Setting up a Storm cluster for more information.
(http://storm.apache.org/documentation/Setting-up-a-Storm-cluster)
def logviewer():
    'Syntax: [storm logviewer]\n\n    Launches the log viewer daemon. It provides a web interface for viewing\n    storm log files. This command should be run under supervision with a\n    tool like daemontools or monit.\n\n    See Setting up a Storm cluster for more information.\n    (http://storm.apache.org/documentation/Setting-up-a-Storm-cluster)\n    '
    cppaths = [CLUSTER_CONF_DIR]
    jvmopts = (parse_args(confvalue('logviewer.childopts', cppaths)) + ['-Djava.deserialization.disabled=true', '-Dlogfile.name=logviewer.log', ('-Dlog4j.configurationFile=' + os.path.join(get_log4j2_conf_dir(), 'cluster.xml'))])
    allextrajars = get_wildcard_dir(STORM_WEBAPP_LIB_DIR)
    allextrajars.append(CLUSTER_CONF_DIR)
    exec_storm_class('org.apache.storm.daemon.logviewer.LogviewerServer', jvmtype='-server', daemonName='logviewer', jvmopts=jvmopts, extrajars=allextrajars)