Forum OpenACS Q&A: write user_id to the server log on error?
10: write user_id to the server log on error? (response to 9)
Posted by Andrew Piskorski on 08/02/05 09:59 PM
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?