def get_log_config(log_file_path, log_lvl):
    """
    Function to get the logging configuration from utils.py

    Arguments:
        log_file_path {string} -- The log file path.
        log_lvl {string} -- The logging level

    Returns:
        [dict] -- Dict containgin the logging configuration.

    """
    if (log_file_path and log_lvl):
        CONFIG = {
            'version': 1,
            'formatters': {
                'standard': {
                    'format': '--------------\n[%(asctime)s] [%(process)d] %(levelname)s in %(filename)s:%(lineno)d: %(message)s',
                    'datefmt': '%Y-%m-%d %H:%M:%S %z',
                }
            },
            'handlers': {
                'file': {
                    'class': 'logging.handlers.RotatingFileHandler',
                    'formatter': 'standard',
                    'filename': log_file_path,
                    'maxBytes': 10000000,
                    'mode': 'a',
                    'backupCount': 30
                },
                'console': {
                    'class': 'logging.StreamHandler',
                    'formatter': 'standard',
                    'stream': 'ext://sys.stdout'
                }
            },
            'root': {
                'level': log_lvl,
                'handlers': ['file', 'console']
            }
        }
        return CONFIG
    return False