1 2 3 4 5 6 7 8 9
import logging class RequestFileHandler(logging.FileHandler): def __init__(self) -> None: super().__init__("./static/request.log") logger = logging.getLogger("app.request")