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
236595PageHitService Request2022-01-22T19:43:35.107-08:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)LogViewer_ws.asmx96.31.33.47Web810
236594PageHit 2022-01-22T19:43:33.783-08:00CCBot/2.0 (https://commoncrawl.org/faq/)LogViewer_ws.aspx54.80.252.84Web810
236593PageHit 2022-01-22T19:36:57.497-08:00CCBot/2.0 (https://commoncrawl.org/faq/)Default.aspx54.80.252.84Web810
236592PageHit 2022-01-22T19:33:01.687-08:00Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)default.aspx118.184.177.67Web810
236591PageHit 2022-01-22T19:29:40.75-08:00CCBot/2.0 (https://commoncrawl.org/faq/)default.aspx54.80.252.84Web810
236590ErrorError 4042022-01-22T19:29:40.62-08:00CCBot/2.0 (https://commoncrawl.org/faq/)Error404.aspx54.80.252.84Web810
236589ErrorError 4042022-01-22T19:28:40.557-08:00Mozilla/5.0 (compatible; oBot/2.3.1; http://www.xforce-security.com/crawler/)Error404.aspx161.156.29.33Web810
236588PageHit 2022-01-22T19:14:43.273-08:00Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)default.aspx123.183.224.64Web810
236587PageHit 2022-01-22T18:49:33.083-08:00Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)default.aspx123.125.109.163Web810
236586ErrorError 4042022-01-22T18:44:18.08-08:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)Error404.aspx194.113.235.231Web810
236585PageHitService Request2022-01-22T18:24:42.29-08:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)LogViewer_ws.asmx96.31.33.47Web810
236584PageHit 2022-01-22T18:24:40.647-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36logviewer_ws.aspx2.85.115.2Web810
236583ErrorError 4042022-01-22T18:03:48.127-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236582ErrorError 4042022-01-22T18:03:47.307-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236581ErrorError 4042022-01-22T18:03:46.757-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236580ErrorError 4042022-01-22T18:03:46.33-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236579ErrorError 4042022-01-22T18:03:45.667-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236578ErrorError 4042022-01-22T18:03:45.347-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236577ErrorError 4042022-01-22T18:03:44.913-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236576ErrorError 4042022-01-22T18:03:44.533-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236575ErrorError 4042022-01-22T18:03:44.22-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236574ErrorError 4042022-01-22T18:03:43.763-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236573ErrorError 4042022-01-22T18:03:43.223-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236572ErrorError 4042022-01-22T18:03:41.74-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236571ErrorError 4042022-01-22T18:03:41.497-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236570ErrorError 4042022-01-22T18:03:40.98-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236569ErrorError 4042022-01-22T18:03:40.597-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236568ErrorError 4042022-01-22T18:03:39.86-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236567PageHit 2022-01-22T18:03:39.323-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36default.aspx188.166.208.188Web810
236566ErrorError 4042022-01-22T18:03:38.08-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236565ErrorError 4042022-01-22T18:03:37.427-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36Error404.aspx188.166.208.188Web810
236564PageHit 2022-01-22T18:03:36.657-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36default.aspx188.166.208.188Web810
236563PageHit 2022-01-22T18:03:35.7-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36default.aspx188.166.208.188Web810
236562PageHit 2022-01-22T14:09:48.16-08:00Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; BIDUBrowser 8.7)BlackScholes_European_Silverlight.aspx206.232.99.45Web810
236561PageHitService Request2022-01-22T14:09:45.25-08:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)LogViewer_ws.asmx96.31.33.47Web810
236560PageHit 2022-01-22T14:09:43.667-08:00Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; BIDUBrowser 8.7)logviewer_ws.aspx206.232.99.45Web810
236559PageHitService Request2022-01-22T13:20:16.623-08:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)LogViewer_ws.asmx96.31.33.47Web810
236558PageHit 2022-01-22T13:20:15.33-08:00Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)LogViewer_ws.aspx54.36.149.62Web810
236557PageHit 2022-01-22T09:51:10.51-08:00Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)default.aspx54.36.149.62Web810
236556ErrorError 4042022-01-22T09:51:09.443-08:00Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)Error404.aspx51.222.253.6Web810
236555ErrorError 4042022-01-22T09:15:11.22-08:00Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0Error404.aspx104.236.126.239Web810
236554PageHit 2022-01-22T09:12:41.677-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64)AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36default.aspx34.223.0.0Web810
236553PageHit 2022-01-22T08:37:50.777-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236552PageHit 2022-01-22T08:37:50.493-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236551PageHit 2022-01-22T08:37:50.083-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236550PageHit 2022-01-22T08:37:49.76-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236549PageHit 2022-01-22T08:37:49.343-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236548PageHit 2022-01-22T08:37:48.247-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236547PageHit 2022-01-22T08:37:48-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236546PageHit 2022-01-22T08:37:47.767-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236545PageHit 2022-01-22T08:37:46.643-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236544PageHit 2022-01-22T08:37:45.8-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236543PageHit 2022-01-22T08:37:44.537-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236542PageHit 2022-01-22T08:37:44.16-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236541PageHit 2022-01-22T08:37:43.957-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236540PageHit 2022-01-22T08:37:43.743-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236539PageHit 2022-01-22T08:37:43.29-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236538PageHit 2022-01-22T08:37:42.91-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236537PageHit 2022-01-22T08:37:41.723-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236536PageHit 2022-01-22T08:37:41.513-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236535PageHit 2022-01-22T08:37:41.127-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236534PageHit 2022-01-22T08:37:39.83-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)default.aspx14.29.230.110Web810
236533ErrorError 4042022-01-22T08:37:39.387-08:00Apache-HttpClient/4.5.2 (Java/1.8.0_161)Error404.aspx14.29.230.110Web810
236532ErrorError 4042022-01-22T08:29:41.18-08:00Mozilla/5.0 (compatible; DotBot/1.2; +https://opensiteexplorer.org/dotbot; help@moz.com)Error404.aspx216.244.66.194Web810
236531ErrorError 4042022-01-22T07:50:37.967-08:00Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)Error404.aspx51.222.253.5Web810
236530PageHit 2022-01-22T05:39:08.92-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.54default.aspx65.21.206.45Web810
236529ErrorError 4042022-01-22T04:38:22.623-08:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36Error404.aspx124.206.180.139Web810
236528PageHit 2022-01-22T04:23:25.373-08:00Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)default.aspx123.183.224.64Web810
236527PageHit 2022-01-22T03:39:48.373-08:00Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)default.aspx123.125.109.163Web810
236526PageHit 2022-01-22T01:39:31.03-08:00Mozilla/5.0 (iPhone; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.25 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1default.aspx42.236.17.11Web810
236525PageHitService Request2022-01-22T01:16:08.183-08:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)LogViewer_ws.asmx96.31.33.47Web810
236524PageHit 2022-01-22T01:16:06.757-08:00Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)LogViewer_ws.aspx54.36.149.62Web810
236523PageHit 2022-01-22T01:04:06.2-08:00Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)default.aspx118.184.177.32Web810
236522ErrorError 4042022-01-22T00:39:33.427-08:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)Error404.aspx194.113.235.231Web810
236521PageHit 2022-01-22T00:15:54.267-08:00Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)USPS_CityStateLookup.aspx157.55.39.26Web810
236520ErrorError 4042022-01-22T00:15:50.027-08:00Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)Error404.aspx40.77.167.104Web810
236519PageHit 2022-01-21T23:41:50.79-08:00Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)default.aspx123.125.109.163Web810
236517ArchiveLog archived2022-01-21T23:27:01.683-08:00NANANANA
236518ErrorError 4042022-01-21T23:27:01.683-08:00Mozilla/5.0 (compatible; DotBot/1.2; +https://opensiteexplorer.org/dotbot; help@moz.com)Error404.aspx216.244.66.194Web810