def register_log(self):
        if not empty('log', self.config):

            if not empty('glim', self.config['log']):
                GlimLog.boot(name='glim', config=self.config['log']['glim'])
            else:
                GlimLog.boot(name='glim')

            if not empty('app', self.config['log']):
                Log.boot(name='app', config=self.config['log']['app'])
            else:
                Log.boot(name='app')
        else:
            Log.boot(name='app')
            GlimLog.boot(name='glim')
Updates the Role instance identified by sid
dataset/ETHPy150Open aacanakin/glim/glim/app.py/Glim.register_log--crossover with--dataset/ETHPy150Open twilio/twilio-python/twilio/rest/resources/ip_messaging/roles.py/Roles.update