<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def do_set_log_level(self, arg):
 """Set the log level. Usage: set_log_level i|v Parameters: log_level: i - info | v - verbose """

        if arg in ['i', 'v']:
            _LOGGING.info('Setting log level to %s', arg)
            if arg == 'i':
                _LOGGING.setLevel(logging.INFO)
                _INSTEONPLM_LOGGING.setLevel(logging.INFO)
            else:
                _LOGGING.setLevel(logging.DEBUG)
                _INSTEONPLM_LOGGING.setLevel(logging.DEBUG)
        else:
            _LOGGING.error('Log level value error.')
            self.do_help('set_log_level')