@staticmethod
def lowerconfig(config):
    """
        Method that makes all keys in the config dict lowercase. Prevents errors where users supply old 
        config style forlogging.
        :param config: Dict containing configuration data
        :return: Returns config dict with all of it's keys in lowercase.
        """
    newconf = {}
    for key in config.keys():
        newconf[key.lower()] = config[key]
    del config
    return newconf
