On 4 maio, 12:55, Tapi wrote:
> Hi,
>
> You may create a subclass of (or Mixin for) BaseHTTPRequestHandler to
> override its log_message() method.
> Here's a really simple example ; it's perfectible, but it should show
> you the way :
>
> class MyLoggingHTTPRequestHandler(BaseHTTPRequestHandler):
Hi,
You may create a subclass of (or Mixin for) BaseHTTPRequestHandler to
override its log_message() method.
Here's a really simple example ; it's perfectible, but it should show
you the way :
class MyLoggingHTTPRequestHandler(BaseHTTPRequestHandler):
def log_message(self, format, *args):