Author: JohnCC | Posted on: 9/15/2008 9:03:32 AM | Views : 278

Apologies if this is not the best place to post this, but I couldn't see an exact fit! 
I'm using some code I found to log exceptions caught in Global.asax.  It currently logs:-
An event ID (GUID)Application nameSource (from Exception.Source)Date/timeMessage (from Exception.Message)Form (Request.Form)Query String (Request.QueryString)Target Site (Exception.TargetSite)StackTrace (Exception.StackTrace)Referer (Request.ServerVariables["HTTP_REFERER"])Data (Exception.Data keys)Path (Request.PhysicalApplicationPath)I'm wondering it there is more I should log?  I want to add the current authenticated user details (probably ID rather than name) as my site uses membership. Maybe client IP too.  I was also thinking about any form parameters too - maybe just all of Request.Params?
I have no relevant experience here - w ...

Go to the complete details ...