[mod_python] How to get mod_python user to show up in access.log?

Scott Chapman scott_list at mischko.com
Tue Aug 16 19:48:22 EDT 2005

> - - [16/Aug/2005:12:20:51 -0700] "POST /login HTTP/1.1" 302 51
> - - [16/Aug/2005:12:20:51 -0700] "GET / HTTP/1.1" 200 8587

The above two lines are in my access.log file.  After the user 
successfully logs in, I'd like his userID toshow up here in place of one 
of the dashes.  Can that be done?  I'm using a custom login page, not 
the generic version provided by web browsers.


More information about the Mod_python mailing list