mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler
This commit is contained in:
parent
e990092fd0
commit
db727b4a77
2 changed files with 3 additions and 3 deletions
|
@ -508,13 +508,13 @@ class BaseHTTPRequestHandler(socketserver.StreamRequestHandler):
|
|||
specified as subsequent arguments (it's just like
|
||||
printf!).
|
||||
|
||||
The client host and current date/time are prefixed to
|
||||
The client ip and current date/time are prefixed to
|
||||
every message.
|
||||
|
||||
"""
|
||||
|
||||
sys.stderr.write("%s - - [%s] %s\n" %
|
||||
(self.address_string(),
|
||||
(self.client_address[0],
|
||||
self.log_date_time_string(),
|
||||
format%args))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue