bin/storm.py
def logviewer():
    """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)
    """
    cppaths = [CLUSTER_CONF_DIR]
    jvmopts = parse_args(confvalue("logviewer.childopts", cppaths)) + [
        "-Dlogfile.name=logviewer.log",
        "-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector",
        "-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)
    
[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.
[ 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 .
def logviewer():
    cppaths = [CLUSTER_CONF_DIR]
    jvmopts = parse_args(confvalue("logviewer.childopts", cppaths)) + [
        "-Dlogfile.name=logviewer.log",
        "-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector",
        "-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)
def logviewer ( ) : cppaths = [ CLUSTER_CONF_DIR ] jvmopts = parse_args ( confvalue ( "logviewer.childopts" , cppaths ) ) + [ "-Dlogfile.name=logviewer.log" , "-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector" , "-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.
Syntax : [ storm logviewer ] Launches the log viewer daemon .
"""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)
    """