[Twisted-web] logging to include name of the authorized user

Ilja Livenson ilja.livenson at gmail.com
Sun Jun 12 03:09:44 EDT 2011


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?


More information about the Twisted-web mailing list