def get_current_log_level(self):
        """
            Fetches the current log level, the level set to INFO
            by default if an unknown level given in the config
            Args:
                None
            Return:
                Log level
            Raise:
                None
        """
        try:
            if (self.log_config['log_level'] and
                    self.log_config['log_level'] in self.log_levels):
                return self.log_levels.index(self.log_config['log_level'])
            else:
                print ("[WARNING]: Unknown log_level defined in the log_config"
                       "configuration: {0}. Overriding it to the default"
                       "level: INFO".format(self.log_config['log_level']))
                self.log_config['log_level'] = "INFO"
                return self.log_levels.index(self.log_config['log_level'])
        except __HOLE__:
            print ("[FATAL]: Logger config is incomplete. Please define "
                   "log_config-> log_level option. Set it to false if you "
                   "want to, disable verbose logging")
            sys.exit(1)
dataset/ETHPy150Open linkedin/simoorg/src/simoorg/Logger.py/Logger.get_current_log_level