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
149730PageHitService Request2020-03-28T14:39:48.39-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.36543)LogViewer_ws.asmx209.67.188.9web703
149729PageHit 2020-03-28T14:39:48.3-07:00CCBot/2.0 (https://commoncrawl.org/faq/)LogViewer_ws.aspx3.215.182.81web703
149728PageHit 2020-03-28T14:26:16.987-07:00CCBot/2.0 (https://commoncrawl.org/faq/)default.aspx3.215.182.81web703
149727PageHit 2020-03-28T14:25:40.777-07:00CCBot/2.0 (https://commoncrawl.org/faq/)LogViewer_Silverlight.aspx3.215.182.81web703
149726PageHit 2020-03-28T14:25:02.063-07:00CCBot/2.0 (https://commoncrawl.org/faq/)BlackScholes_European_Silverlight.aspx3.215.182.81web703
149725PageHit 2020-03-28T14:17:29.847-07:00Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)LogViewer.aspx216.244.66.194web703
149724ErrorError 4042020-03-28T14:08:11.013-07:00Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)Error404.aspx216.244.66.194web703
149723PageHit 2020-03-28T13:52:19.677-07:00CCBot/2.0 (https://commoncrawl.org/faq/)BlackScholes_European_Lookup.aspx3.215.182.81web703
149722ErrorError 4042020-03-28T13:50:42.577-07:00Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0Error404.aspx120.78.156.82web703
149721PageHit 2020-03-28T13:43:44.49-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)default.aspx46.185.119.151web703
149720PageHit 2020-03-28T13:43:43.803-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)default.aspx46.185.119.151web703
149719PageHit 2020-03-28T13:43:43.13-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)default.aspx46.185.119.151web703
149718PageHit 2020-03-28T13:23:05.863-07:00CCBot/2.0 (https://commoncrawl.org/faq/)USPS_ZipCodeLookup.aspx3.215.182.81web703
149717ErrorError 4042020-03-28T12:50:18.097-07:00CCBot/2.0 (https://commoncrawl.org/faq/)Error404.aspx3.215.182.81web703
149716PageHit 2020-03-28T12:38:17.063-07:00Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36default.aspx116.75.120.191web703
149715ErrorError 4042020-03-28T12:10:32.25-07:00Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)Error404.aspx77.88.5.111web703
149714ArchiveLog archived2020-03-28T12:10:32.247-07:00NANANANA