On Sun, Feb 6, 2011 at 4:01 PM, Kevin <[email protected]> wrote: > Testing out TG 1.5 and would like to get old TG 1 access logging back. > Anyone know how to add the username back to the access logging? > > TurboGears 1.5b2 > 2011-02-06 15:34:16,078 127.0.0.1 - - [06/Feb/2011:15:34:16] "GET .... > > Would like this instead: > TurboGears 1.1.2 > 2011-02-06 15:56:22,228 127.0.0.1 - admin [06/Feb/2011:15:56:22] > "GET ..." >
First, thanks for trying out the 1.5 beta releases, and for giving us actionable feedback! I can't over-emphasize the value of that. Second, I apologize for the breakage; I'm almost certain that I caused it. This is a feature that I overlooked when comparing our access log functionality with that supplied by CP 3. After reviewing CP's _cplogging.py, however, I think the solution is as simple as setting cherrypy.request.remote.name in turbogears.identity. Unfortunately, I'm not sure when I'll be able to dig in to it further. Would you please create a ticket on our trac so that it doesn't get lost? Thanks, -Ken -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

