From: SourceForge.net <no...@so...> - 2005-07-30 03:18:18
|
Feature Requests item #1241432, was opened at 2005-07-20 03:09 Message generated for change (Settings changed) made by sdeasey You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719009&aid=1241432&group_id=130646 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: Stephen Deasey (sdeasey) Assigned to: Stephen Deasey (sdeasey) Summary: Tcl error info, with connection info Initial Comment: Here's a patch which moves the Ns_TclLogError and Ns_TclLogErrorRequest routines from nsd/tclinit.c into nsd/tclmisc.c. I've deprecated Ns_TclLogErrorRequest (which isn't used) in favour of detecting whether there is a current connection, and if so, logging the method, url and remote IP. There's a new config setting, errorlogheaders, which is a list of connection headers to log, in addition to the standard info. Just like the nslog module. I've also added a new function Ns_TclLogErrorInfo(Tcl_Interp *, char *) which takes an extra argument and adds it to the Tcl errorInfo stack trace, as a convenience. Ns_TclLogError becomes a simple wrapper of this function. ---------------------------------------------------------------------- >Comment By: Stephen Deasey (sdeasey) Date: 2005-07-29 21:18 Message: Logged In: YES user_id=87254 Commited to CVS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719009&aid=1241432&group_id=130646 |