On Wed, Nov 19, 2008 at 4:41 AM, zaf <[EMAIL PROTECTED]> wrote: > > 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 ?
that will depend on which tg version you are using TG 1.* = cherrypy.request.remote.ip http://www.cherrypy.org/wiki/RequestObject TG2 = webob.request.XXX I'm not 100% sure but it has to be in the docs. > I'm gonna check out the visit-plugin thing it looks interesting. > Thanks > > > On Nov 18, 8:42 pm, Christopher Arndt <[EMAIL PROTECTED]> wrote: >> zaf schrieb: >> >> > Hi everyone, >> > I want to log data every time someone uses my app. Bascially I'd like >> > to get their ip address and time they loaded the pages and all that. >> > How can I set that ? I've been toying with the logging values in >> > prod.cfg but it doesn't seem to be doing anything. >> >> Please post your logging configuration tohttp://paste.turbogears.org >> and post a link here. Then we'll maybe be able to point out errors in >> your logging setup. >> >> If you want to do something more fancy, >> readhttp://docs.turbogears.org/1.0/UsingVisitFramework#visit-pluginsand the >> following sections. >> >> 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 -~----------~----~----~----~------~----~------~--~---

