Re: logging to include name of the authorized user
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <20110612121758.1894.704417522.divmod.xquotient.0@localhost.localdomain> |
On 07:09 am, [email protected] wrote: >Hi, > >I think I've stumbled upon a similar problem as described in the mail >thread "Get identity of previously-authenticated user". I want to log >some of the actions inside render_XXX methods, I also need these logs >to include the avatar's name. Is it really so that the only way of >doing that is to modify ctors of the resource tree and pass avatarID >as a parameter in the requestAvatar method? I'm sure it's not the only way, but it's the way I recommend. Jean-Paul