diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-04-29 05:39:16 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-04-29 05:39:16 (GMT) |
commit | fb5aebc1ccc9153508af0872accc094fdd3fd99a (patch) | |
tree | c3cbe8a8859b89c1532039208749eae6eb2f27d8 /Lib/BaseHTTPServer.py | |
parent | 114277308478d764eb01e1b054dab5d671d5e023 (diff) | |
download | cpython-fb5aebc1ccc9153508af0872accc094fdd3fd99a.zip cpython-fb5aebc1ccc9153508af0872accc094fdd3fd99a.tar.gz cpython-fb5aebc1ccc9153508af0872accc094fdd3fd99a.tar.bz2 |
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler
Diffstat (limited to 'Lib/BaseHTTPServer.py')
-rw-r--r-- | Lib/BaseHTTPServer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py index 1a39485..deaf2f9 100644 --- a/Lib/BaseHTTPServer.py +++ b/Lib/BaseHTTPServer.py @@ -447,13 +447,13 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler): specified as subsequent arguments (it's just like printf!). - The client host and current date/time are prefixed to - every message. + The client ip address 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)) |