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
534739PageHitService Request2014-10-30T08:08:45.577-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4253)LogViewer_ws.asmx209.67.188.9web703
534738PageHit 2014-10-30T08:08:45.573-07:00CCBot/2.0 (http://commoncrawl.org/faq/)LogViewer_ws.aspx54.167.75.155web703
534737ErrorError 4042014-10-30T08:08:45.3-07:00CCBot/2.0 (http://commoncrawl.org/faq/)Error404.aspx54.167.75.155web703
534736PageHitService Request2014-10-30T08:07:49.22-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4253)LogViewer_ws.asmx209.67.188.9web703
534735PageHit 2014-10-30T08:07:49.217-07:00Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0LogViewer_ws.aspx59.151.103.53web703
534734PageHitService Request2014-10-30T08:03:43.197-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4253)LogViewer_ws.asmx209.67.188.9web703
534733PageHit 2014-10-30T08:03:43.19-07:00Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0LogViewer_ws.aspx59.151.103.39web703
534732PageHitService Request2014-10-30T08:00:47.637-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4253)LogViewer_ws.asmx209.67.188.9web703
534731PageHit 2014-10-30T08:00:47.627-07:00Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0LogViewer_ws.aspx59.151.103.41web703
534730PageHitService Request2014-10-30T07:55:58.49-07:00Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4253)LogViewer_ws.asmx209.67.188.9web703
534729PageHit 2014-10-30T07:55:58.48-07:00Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0LogViewer_ws.aspx59.151.103.49web703
534728PageHitysdGDRclKZhIBQaSvuK;ykrjGOdUNzLd;New York;NY2014-10-30T07:53:15.253-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534727PageHit 2014-10-30T07:53:15.24-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534726PageHit 2014-10-30T07:53:15.227-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534725PageHit 2014-10-30T07:53:15.213-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534723PageHit 2014-10-30T07:53:14.337-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534724PageHitVvdHaINnpvoqXySgPr;iqCaYKsSceQh;New York;NY2014-10-30T07:53:14.337-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534722PageHit 2014-10-30T07:53:14.33-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534721PageHit 2014-10-30T07:53:14.327-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534720PageHitQhvBseGbdpEfRqhwM;EbUvswHheMhJd;New York;NY2014-10-30T07:53:13.44-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534719PageHit 2014-10-30T07:53:13.43-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534718PageHit 2014-10-30T07:53:13.417-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534717PageHit 2014-10-30T07:53:13.4-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534714PageHit 2014-10-30T07:53:12.48-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534715PageHit 2014-10-30T07:53:12.48-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534716PageHitiAvjldBFMKTOyABaF;hHLRxrFJjjqpEfuX;New York;NY2014-10-30T07:53:12.48-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534713PageHit 2014-10-30T07:53:12.477-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534712PageHitMVmuZmczeCXQ;rLXgLdzbIkrKQEgWkRW;New York;NY2014-10-30T07:53:10.957-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534710PageHit 2014-10-30T07:53:10.953-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534711PageHit 2014-10-30T07:53:10.953-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534709PageHit 2014-10-30T07:53:10.943-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534708PageHit 2014-10-30T07:53:09.863-07:00Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)usps_zipcodelookup.aspx188.143.232.111web703
534707ArchiveLog archived2014-10-30T07:52:16.233-07:00NANANANA