logging module: add client_addr to all log records

Joel Hedlund joel.hedlund at gmail.com
Thu May 11 13:16:57 EDT 2006


> See a very similar example which uses the new 'extra' keyword argument:

Now that's brilliant! Exactly what I need.

But unfortunately, it's also unavailable until 2.5 comes out. Until then I'm 
afraid I'm stuck with my shoddy hack... but it's always nice to know the time 
will come when I can finally throw it out!

Thanks for taking the time!

Cheers!
/Joel



More information about the Python-list mailing list