{
    "version": 1,
    "disable_existing_loggers": false,
    "formatters": {
        "simple": {
            "format": "%(asctime)s :: %(name)s :: %(levelname)s :: %(message)s"
        }
    },

    "handlers": {
        "console": {
            "class": "logging.StreamHandler",
            "level": "DEBUG",
            "formatter": "simple",
            "stream": "ext://sys.stdout"
        },

        "info_file_handler": {
            "class": "logging.handlers.RotatingFileHandler",
            "level": "INFO",
            "formatter": "simple",
            "filename": "info.log",
            "maxBytes": 1048576,
            "backupCount": 20,
            "encoding": "utf8"
        },

        "error_file_handler": {
            "class": "logging.handlers.RotatingFileHandler",
            "level": "ERROR",
            "formatter": "simple",
            "filename": "errors.log",
            "maxBytes": 1048576,
            "backupCount": 20,
            "encoding": "utf8"
        }
    },

    "loggers": {
        "LBI": {
            "level": "INFO",
            "handlers": ["console", "info_file_handler", "error_file_handler"]
        },
        "discord": {
            "level":"WARNING",
            "handlers":["console", "info_file_handler", "error_file_handler"]
        }
    },

    "root": {
        "level": "INFO",
        "handlers": []
    }
}