def set_log_level(*args):
    "\n    Dynamically change topology log levels\n\n    Syntax: [storm set_log_level -l [logger name]=[log level][:optional timeout] -r [logger name] topology-name]\n    where log level is one of:\n        ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF\n    and timeout is integer seconds.\n\n    e.g.\n        ./bin/storm set_log_level -l ROOT=DEBUG:30 topology-name\n\n        Set the root logger's level to DEBUG for 30 seconds\n\n        ./bin/storm set_log_level -l com.myapp=WARN topology-name\n\n        Set the com.myapp logger's level to WARN for 30 seconds\n\n        ./bin/storm set_log_level -l com.myapp=WARN -l com.myOtherLogger=ERROR:123 topology-name\n\n        Set the com.myapp logger's level to WARN indifinitely, and com.myOtherLogger\n        to ERROR for 123 seconds\n\n        ./bin/storm set_log_level -r com.myOtherLogger topology-name\n\n        Clears settings, resetting back to the original level\n    "
    exec_storm_class('org.apache.storm.command.SetLogLevel', args=args, jvmtype='-client', extrajars=[USER_CONF_DIR, STORM_BIN_DIR])
Dynamically change topology log levels

Syntax: [storm set_log_level -l [logger name]=[log level][:optional timeout] -r [logger name] topology-name]
where log level is one of:
    ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF
and timeout is integer seconds.

e.g.
    ./bin/storm set_log_level -l ROOT=DEBUG:30 topology-name

    Set the root logger's level to DEBUG for 30 seconds

    ./bin/storm set_log_level -l com.myapp=WARN topology-name

    Set the com.myapp logger's level to WARN for 30 seconds

    ./bin/storm set_log_level -l com.myapp=WARN -l com.myOtherLogger=ERROR:123 topology-name

    Set the com.myapp logger's level to WARN indifinitely, and com.myOtherLogger
    to ERROR for 123 seconds

    ./bin/storm set_log_level -r com.myOtherLogger topology-name

    Clears settings, resetting back to the original level
def set_log_level(*args):
    "\n    Dynamically change topology log levels\n\n    Syntax: [storm set_log_level -l [logger name]=[log level][:optional timeout] -r [logger name] topology-name]\n    where log level is one of:\n        ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF\n    and timeout is integer seconds.\n\n    e.g.\n        ./bin/storm set_log_level -l ROOT=DEBUG:30 topology-name\n\n        Set the root logger's level to DEBUG for 30 seconds\n\n        ./bin/storm set_log_level -l com.myapp=WARN topology-name\n\n        Set the com.myapp logger's level to WARN for 30 seconds\n\n        ./bin/storm set_log_level -l com.myapp=WARN -l com.myOtherLogger=ERROR:123 topology-name\n\n        Set the com.myapp logger's level to WARN indifinitely, and com.myOtherLogger\n        to ERROR for 123 seconds\n\n        ./bin/storm set_log_level -r com.myOtherLogger topology-name\n\n        Clears settings, resetting back to the original level\n    "
    exec_storm_class('org.apache.storm.command.SetLogLevel', args=args, jvmtype='-client', extrajars=[USER_CONF_DIR, STORM_BIN_DIR])