Log an error. This is called when a request cannot be fulfilled. By default it passes the message on to log_message(). Arguments are the same as for log_message(). XXX This should go to the separate error log.
(self, format, *args)
| 614 | self.requestline, str(code), str(size)) |
| 615 | |
| 616 | def log_error(self, format, *args): |
| 617 | """Log an error. |
| 618 | |
| 619 | This is called when a request cannot be fulfilled. By |
| 620 | default it passes the message on to log_message(). |
| 621 | |
| 622 | Arguments are the same as for log_message(). |
| 623 | |
| 624 | XXX This should go to the separate error log. |
| 625 | |
| 626 | """ |
| 627 | |
| 628 | self.log_message(format, *args) |
| 629 | |
| 630 | # https://en.wikipedia.org/wiki/List_of_Unicode_characters#Control_codes |
| 631 | _control_char_table = str.maketrans( |
no test coverage detected