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)
| 586 | self.requestline, str(code), str(size)) |
| 587 | |
| 588 | def log_error(self, format, *args): |
| 589 | """Log an error. |
| 590 | |
| 591 | This is called when a request cannot be fulfilled. By |
| 592 | default it passes the message on to log_message(). |
| 593 | |
| 594 | Arguments are the same as for log_message(). |
| 595 | |
| 596 | XXX This should go to the separate error log. |
| 597 | |
| 598 | """ |
| 599 | |
| 600 | self.log_message(format, *args) |
| 601 | |
| 602 | # https://en.wikipedia.org/wiki/List_of_Unicode_characters#Control_codes |
| 603 | _control_char_table = str.maketrans( |
no test coverage detected