{
    "version": 1,
    "disable_existing_loggers": false,
    "formatters": {
        "standard": {
            "format": "%(levelname)s %(asctime)s | %(filename)s:%(lineno)d | %(message)s"
        }
    },
    "handlers": {
        "console": {
            "level": "INFO",
            "formatter": "standard",
            "class": "logging.StreamHandler",
            "stream": "ext://sys.stdout"
        },
        "file_handler": {
            "level": "INFO",
            "formatter": "standard",
            "class": "logging.handlers.RotatingFileHandler",
            "filename": "logs.log",
            "maxBytes": 10485760, 
            "backupCount": 20
        }
    },
    "root": {
        "level": "INFO",
        "handlers": [
            "console",
            "file_handler"
        ]
    }
}