def METHOD_NAME(self):
    """Start writing to self.server.log_path"""
    if self.server.log_path:
        self.fp = open(self.server.log_path, "w") # pylint: disable=attribute-defined-outside-init
    else:
        self.fp = None
    self.request.settimeout(10)