def enable_log(level=logging.DEBUG):
logger = logging.getLogger(__name__)<EOL>logger.setLevel(level)<EOL>if not logger.handlers:<EOL><INDENT>logger.info('<STR_LIT>')<EOL>logger.addHandler(logging.StreamHandler(sys.stdout))<EOL><DEDENT>
Enable console logging.

    This is a utils method for try run with storops.
    :param level: log level, default to DEBUG