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
1000987PageHitService Request2015-03-29T22:34:49.223-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4253)LogViewer_ws.asmx209.67.188.9web703
1000986PageHit 2015-03-29T22:34:49.22-07:00CCBot/2.0 (http://commoncrawl.org/faq/)LogViewer_ws.aspx54.91.57.221web703
1000985ErrorError 4042015-03-29T22:34:48.957-07:00CCBot/2.0 (http://commoncrawl.org/faq/)Error404.aspx54.91.57.221web703
1000984PageHitService Request2015-03-29T22:25:42.45-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4253)LogViewer_ws.asmx209.67.188.9web703
1000983PageHit 2015-03-29T22:25:41.807-07:00Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) CriOS/39.0.2171.50 Mobile/12B440 Safari/600.1.4LogViewer_ws.aspx192.64.55.136web703
1000982ErrorError 4042015-03-29T22:03:08.63-07:00Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)Error404.aspx208.115.113.82web703
1000979PageHit 2015-03-29T21:42:23.257-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000980PageHit 2015-03-29T21:42:23.257-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000981PageHitumvWQWGlJnckRKl;aGGeqOYtJxdPVPX;New York;NY2015-03-29T21:42:23.257-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000978PageHit 2015-03-29T21:42:23.253-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000977PageHitwklddtcAtTYSgF;vgEvpwEOjNP;New York;NY2015-03-29T21:42:22.47-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000976PageHit 2015-03-29T21:42:22.463-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000975PageHit 2015-03-29T21:42:22.453-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000974PageHit 2015-03-29T21:42:22.447-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000970PageHit 2015-03-29T21:42:21.703-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000971PageHit 2015-03-29T21:42:21.703-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000972PageHit 2015-03-29T21:42:21.703-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000973PageHitVQrtAJQTfeindhkD;YmYoWIbzzEGUvRlzQsk;New York;NY2015-03-29T21:42:21.703-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000969PageHitKJRSPgGzsmuUwtIUkD;IFkCAuabnv;New York;NY2015-03-29T21:42:17.627-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000968PageHit 2015-03-29T21:42:17.623-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000967PageHit 2015-03-29T21:42:17.62-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000966PageHit 2015-03-29T21:42:17.617-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000965PageHitWsluXTMWtOWCSheiV;ResYXwmKAvVsiZmTK;New York;NY2015-03-29T21:42:16.023-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000963PageHit 2015-03-29T21:42:16.02-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000964PageHit 2015-03-29T21:42:16.02-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000962PageHit 2015-03-29T21:42:16.017-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000961PageHit 2015-03-29T21:42:14.78-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx95.130.13.172web703
1000960PageHit 2015-03-29T21:38:20.663-07:00Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)default.aspx66.249.79.132web703
1000959PageHit 2015-03-29T21:33:07.04-07:00Mozilla/5.0 (iPhone; CPU iPhone OS 8_0_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A405 Safari/600.1.4LogViewer.aspx192.64.55.136web703
1000958ArchiveLog archived2015-03-29T20:57:23.683-07:00NANANANA