Forum OpenACS Q&A: write user_id to the server log on error?

Collapse
Posted by Andrew Piskorski on
As I mentioned back in 2002, it is easy to write the OpenACS user_id to the AOLserver access log on each and every hit. However, when an error occurs, it would be really nice if the user_id was included with the error stack trace in the error log, but there is no obvious way to do this.

Has anyone since come up with a way to log the user_id to the error log whenever a page throws a Tcl error?