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
38050PageHitService Request2017-07-24T03:26:42.42-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38049PageHit 2017-07-24T03:26:42.03-07:00CCBot/2.0 (http://commoncrawl.org/faq/)LogViewer_ws.aspx54.92.128.223web703
38048PageHit 2017-07-24T03:26:32.31-07:00CCBot/2.0 (http://commoncrawl.org/faq/)LogViewer_Silverlight.aspx54.92.128.223web703
38047PageHit 2017-07-24T03:26:22.727-07:00CCBot/2.0 (http://commoncrawl.org/faq/)BlackScholes_European_Lookup.aspx54.92.128.223web703
38046ErrorError 4042017-07-24T03:25:55.02-07:00CCBot/2.0 (http://commoncrawl.org/faq/)Error404.aspx54.92.128.223web703
38045PageHit 2017-07-24T03:22:57.69-07:00Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36default.aspx202.46.51.114web703
38044PageHit 2017-07-24T02:44:55.077-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx165.231.95.252web703
38043PageHitService Request2017-07-24T02:44:53.923-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38042PageHit 2017-07-24T02:44:53.9-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx165.231.95.252web703
38041PageHit 2017-07-24T02:40:54.177-07:00Mozilla/4.0 (compatible; Powermarks/3.5; Windows 95/98/2000/NT)default.aspx46.119.112.177web703
38040PageHit 2017-07-24T02:40:52.92-07:00Mozilla/4.0 (compatible; Powermarks/3.5; Windows 95/98/2000/NT)default.aspx46.119.112.177web703
38039PageHit 2017-07-24T02:23:54.173-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx191.101.75.135web703
38038PageHitService Request2017-07-24T02:23:53.46-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38037PageHit 2017-07-24T02:23:53.44-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx191.101.75.135web703
38036PageHit 2017-07-24T02:14:48.217-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx89.34.166.74web703
38035PageHitService Request2017-07-24T02:14:46.797-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38034PageHit 2017-07-24T02:14:46.777-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx89.34.166.74web703
38033PageHitService Request2017-07-24T02:13:07.387-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38032PageHit 2017-07-24T02:13:07.17-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx183.222.102.107web703
38031PageHit 2017-07-24T01:59:09.503-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx92.114.83.58web703
38030PageHitService Request2017-07-24T01:59:08.593-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38029PageHit 2017-07-24T01:59:08.49-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx92.114.83.58web703
38028PageHit 2017-07-24T01:37:28.217-07:00Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36BlackScholes_European_Silverlight.aspx104.168.47.153web703
38027PageHitService Request2017-07-24T01:37:27.157-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38026PageHit 2017-07-24T01:37:27.147-07:00Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36LogViewer_ws.aspx104.168.47.153web703
38025PageHit 2017-07-24T01:36:25.857-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx31.14.255.242web703
38024PageHitService Request2017-07-24T01:36:25.19-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38023PageHit 2017-07-24T01:36:25.163-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx31.14.255.242web703
38022PageHit 2017-07-24T01:27:16.303-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx191.101.73.181web703
38021PageHitService Request2017-07-24T01:27:15.747-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38020PageHit 2017-07-24T01:27:15.737-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx191.101.73.181web703
38019PageHitService Request2017-07-24T01:26:27.98-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38018PageHit 2017-07-24T01:26:27.967-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx104.154.64.128web703
38017PageHit 2017-07-24T01:21:42.603-07:00Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36default.aspx202.46.52.175web703
38016PageHit 2017-07-24T01:16:39.107-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx5.226.174.56web703
38015PageHitService Request2017-07-24T01:16:38.507-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38014PageHit 2017-07-24T01:16:38.49-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx5.226.174.56web703
38013PageHit 2017-07-24T01:00:57.383-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx23.94.33.222web703
38012PageHitService Request2017-07-24T01:00:56.617-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38011PageHit 2017-07-24T01:00:56.257-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx23.94.33.222web703
38010ErrorError 4042017-07-24T00:58:16.68-07:00Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)Error404.aspx216.244.66.194web703
38009PageHit 2017-07-24T00:04:44.827-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898BlackScholes_European_Silverlight.aspx191.101.72.156web703
38008PageHitService Request2017-07-24T00:04:43.593-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.8762)LogViewer_ws.asmx209.67.188.9web703
38006ArchiveLog archived2017-07-24T00:04:43.583-07:00NANANANA
38007PageHit 2017-07-24T00:04:43.583-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898LogViewer_ws.aspx191.101.72.156web703