CodeDotNet

When building this site, one of the first elements I allocated time for was a logging feature, both to collect error information for debugging, as well as user information. Below is a view of the log data stored, but called from a web service, using a mixture of VB.NET to return the data and transform the XML, and ASP.NET to display it.



LogIDTypeTypeMessageTimeStampBrowserInfoPagePathIPAddressDNSName
44825PageHitService Request2017-09-21T08:39:40.37-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
44824PageHit 2017-09-21T08:39:40.36-07:00CCBot/2.0 (http://commoncrawl.org/faq/)LogViewer_ws.aspx54.92.155.160web703
44823PageHit 2017-09-21T08:39:01.36-07:00CCBot/2.0 (http://commoncrawl.org/faq/)BlackScholes_European_Silverlight.aspx54.92.155.160web703
44822PageHit 2017-09-21T08:37:54.693-07:00CCBot/2.0 (http://commoncrawl.org/faq/)USPS_ZipCodeLookup.aspx54.92.155.160web703
44821PageHit 2017-09-21T08:37:38.957-07:00CCBot/2.0 (http://commoncrawl.org/faq/)default.aspx54.92.155.160web703
44820ErrorError 4042017-09-21T08:37:38.667-07:00CCBot/2.0 (http://commoncrawl.org/faq/)Error404.aspx54.92.155.160web703
44819PageHit 2017-09-21T08:32:53.92-07:00Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36BlackScholes_European_Silverlight.aspx192.210.177.214web703
44818PageHitService Request2017-09-21T08:32:53.267-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
44817PageHit 2017-09-21T08:32:53.017-07:00Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36LogViewer_ws.aspx192.210.177.214web703
44816PageHit 2017-09-21T08:02:54.6-07:00Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Geckodefault.aspx63.141.234.10web703
44815PageHit 2017-09-21T08:01:52.637-07:00Opera/7.11 (Windows NT 5.1; U) [en]default.aspx46.118.158.19web703
44814PageHit 2017-09-21T08:01:50.82-07:00Opera/7.11 (Windows NT 5.1; U) [en]default.aspx46.118.158.19web703
44813PageHit 2017-09-21T07:57:38.113-07:00Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Geckodefault.aspx173.208.211.58web703
44812PageHit 2017-09-21T07:55:53.38-07:00Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )BlackScholes_European.aspx104.236.109.26web703
44811PageHit 2017-09-21T07:55:49.087-07:00Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )BlackScholes_European_Silverlight.aspx104.236.109.26web703
44810PageHit 2017-09-21T07:55:23.44-07:00Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )BlackScholes_European_Lookup.aspx104.236.109.26web703
44809PageHit 2017-09-21T07:55:08.53-07:00Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )LogViewer_Silverlight.aspx104.236.109.26web703
44807ArchiveLog archived2017-09-21T07:55:04.267-07:00NANANANA
44808PageHit 2017-09-21T07:55:04.267-07:00Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )USPS_CityStateLookup.aspx104.236.109.26web703