Christopher Arndt schrieb:
> zaf schrieb:
>> Ok actually I think I got it.
>> Here's my log conf : http://paste.turbogears.org/paste/12906
>> would there be a way to get the user's ip address with that ?
> 
> The 'turbogears.access' logger (which is defined here [1]) logs the
> client IP as the first field (cherrypy.request.remote_host [2]).

Actually, the described behavior seems to constitute a bug in the
_cp_log_access method. If request.remote_host is empty, it should log
the remote IP instead, but the current code doesn't do this, so the
first field is empty in most cases.

I have opened a ticket with a patch to fix this:

http://trac.turbogears.org/ticket/2044


Chris

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to