Oh, the auth.log_event I didn't know.. maybe interesting, but i don't want to log in the db, I need to use my logger config.
But I can't possibly believe it's rare to log what users do.. Imagine, I have a db of specifications, I want to know who modified which field at what time.. What should be the best way to track this except log it ? Anyway, thanks for the answer :) On May 19, 1:23 am, pbreit <[email protected]> wrote: > Not sure exactly what you need but, yes, I think it's kind of rare. > > Maybe this will work for you: by default, Web2py creates an auth_event table > and automatically records a bunch of actions like register, login, etc. > > You can add your own actions with this one-liner: > auth.log_event(description='this happened', origin='auth') > > Both description and origin can be anything I believe.

