http.server.BaseHTTPRequestHandler.log_message()

log_message(format, ...)

Logs an arbitrary message to sys.stderr. This is typically overridden to create custom error logging mechanisms. The format argument is a standard printf-style format string, where the additional arguments to log_message() are applied as inputs to the formatting. The client ip address and current date and time are prefixed to every message logged.

doc_python
2016-10-07 17:34:14
Comments
Leave a Comment

Please login to continue.