Injecting app level username/userid into nginx/Apache log

Viewed 2116

Is there a way to inject an application level username or id (in this case, the django username or id) into the Apache or ngnix log? Note that I'm not asking about the HTTP auth username.

3 Answers
Related