[Twisted-web] logging to include name of the authorized user
exarkun at twistedmatrix.com
exarkun at twistedmatrix.com
Sun Jun 12 08:17:58 EDT 2011
On 07:09 am, ilja.livenson at gmail.com 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
More information about the Twisted-web
mailing list