def set_loglevel(self, level):
self.logger.set_level(level)<EOL>
Sets the log level used by this session.

        Valid levels are: "none", "error", "warning", "info"
        and "debug".

        :param level: level of logging to output