http_log 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/http_log.rb +1 -0
- data/lib/http_log/version.rb +1 -1
- data/test/dummy/log/test.log +230 -0
- metadata +25 -16
- data/test/dummy/tmp/pids/server.pid +0 -1
data/lib/http_log.rb
CHANGED
data/lib/http_log/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -1600,3 +1600,233 @@ MONGODB (0ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f6
|
|
1600
1600
|
Completed 200 OK in 12ms (Views: 0.6ms)
|
1601
1601
|
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1602
1602
|
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1603
|
+
MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production.
|
1604
|
+
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
1605
|
+
|
1606
|
+
|
1607
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1608
|
+
Error compiling asset application.css:
|
1609
|
+
Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
|
1610
|
+
(in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
|
1611
|
+
Served asset /application.css - 500 Internal Server Error
|
1612
|
+
|
1613
|
+
|
1614
|
+
MONGODB (1ms) http_log_test['system.namespaces'].find({})
|
1615
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
1616
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1617
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1618
|
+
|
1619
|
+
|
1620
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1621
|
+
Error compiling asset application.css:
|
1622
|
+
Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
|
1623
|
+
(in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
|
1624
|
+
Served asset /application.css - 500 Internal Server Error
|
1625
|
+
|
1626
|
+
|
1627
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
1628
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1629
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1630
|
+
|
1631
|
+
|
1632
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1633
|
+
Error compiling asset application.css:
|
1634
|
+
Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
|
1635
|
+
(in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
|
1636
|
+
Served asset /application.css - 500 Internal Server Error
|
1637
|
+
|
1638
|
+
|
1639
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
1640
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1641
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1642
|
+
|
1643
|
+
|
1644
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1645
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca534076579c2000001'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/json", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:41 UTC, "created_at"=>2012-03-19 07:13:41 UTC}])
|
1646
|
+
Processing by EchoController#echo as HTML
|
1647
|
+
Parameters: {"echo"=>{"controller"=>"echo", "action"=>"echo"}}
|
1648
|
+
HTTP Logger Request ID: 4f66dca534076579c2000001
|
1649
|
+
Completed 200 OK in 1ms
|
1650
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1651
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1652
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1653
|
+
|
1654
|
+
|
1655
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1656
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>"", "foo"=>"bar"}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca534076579c2000002'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:41 UTC, "created_at"=>2012-03-19 07:13:41 UTC}])
|
1657
|
+
Processing by EchoController#echo as HTML
|
1658
|
+
HTTP Logger Request ID: 4f66dca534076579c2000002
|
1659
|
+
Completed 200 OK in 0ms
|
1660
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1661
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1662
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1663
|
+
|
1664
|
+
|
1665
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1666
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_FOO"=>"bar", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca534076579c2000003'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:41 UTC, "created_at"=>2012-03-19 07:13:41 UTC}])
|
1667
|
+
Processing by EchoController#echo as HTML
|
1668
|
+
HTTP Logger Request ID: 4f66dca534076579c2000003
|
1669
|
+
Completed 200 OK in 0ms
|
1670
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1671
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1672
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1673
|
+
|
1674
|
+
|
1675
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1676
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"application/json", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca534076579c2000004'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:41 UTC, "created_at"=>2012-03-19 07:13:41 UTC}])
|
1677
|
+
Processing by EchoController#echo as JSON
|
1678
|
+
HTTP Logger Request ID: 4f66dca534076579c2000004
|
1679
|
+
Completed 200 OK in 0ms
|
1680
|
+
MONGODB (1ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1681
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1682
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1683
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1684
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1685
|
+
|
1686
|
+
|
1687
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1688
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{"foo"=>"bar"}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca534076579c2000005'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/json", "raw_post"=>"{\"foo\": \"bar\"}", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:41 UTC, "created_at"=>2012-03-19 07:13:41 UTC}])
|
1689
|
+
Processing by EchoController#echo as HTML
|
1690
|
+
Parameters: {"foo"=>"bar", "echo"=>{"foo"=>"bar", "controller"=>"echo", "action"=>"echo"}}
|
1691
|
+
HTTP Logger Request ID: 4f66dca534076579c2000005
|
1692
|
+
Completed 200 OK in 0ms
|
1693
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1694
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1695
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1696
|
+
|
1697
|
+
|
1698
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1699
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>"", "foo"=>"bar", "baz"=>"quz"}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca534076579c2000006'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:41 UTC, "created_at"=>2012-03-19 07:13:41 UTC}])
|
1700
|
+
Processing by EchoController#echo as HTML
|
1701
|
+
HTTP Logger Request ID: 4f66dca534076579c2000006
|
1702
|
+
Completed 200 OK in 0ms
|
1703
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1704
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1705
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1706
|
+
|
1707
|
+
|
1708
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:41 +0100
|
1709
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{"foo"=>"bar"}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca534076579c2000007'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"foo=bar", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:41 UTC, "created_at"=>2012-03-19 07:13:41 UTC}])
|
1710
|
+
Processing by EchoController#echo as HTML
|
1711
|
+
Parameters: {"foo"=>"bar"}
|
1712
|
+
HTTP Logger Request ID: 4f66dca534076579c2000007
|
1713
|
+
Completed 200 OK in 0ms
|
1714
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1715
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1716
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1717
|
+
|
1718
|
+
|
1719
|
+
Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1720
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{"foo"=>"bar"}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c2000008'), "http_method"=>"POST", "url"=>"http://www.example.com/?foo=bar", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1721
|
+
Processing by EchoController#echo as HTML
|
1722
|
+
Parameters: {"foo"=>"bar"}
|
1723
|
+
HTTP Logger Request ID: 4f66dca634076579c2000008
|
1724
|
+
Completed 200 OK in 0ms
|
1725
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1726
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1727
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1728
|
+
|
1729
|
+
|
1730
|
+
Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1731
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{"foo"=>"bar"}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c2000009'), "http_method"=>"POST", "url"=>"http://www.example.com/?foo=bar", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1732
|
+
Processing by EchoController#echo as HTML
|
1733
|
+
Parameters: {"foo"=>"bar"}
|
1734
|
+
HTTP Logger Request ID: 4f66dca634076579c2000009
|
1735
|
+
Completed 200 OK in 0ms
|
1736
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1737
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1738
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1739
|
+
|
1740
|
+
|
1741
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1742
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{"foo"=>"bar"}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c200000a'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"foo=bar", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1743
|
+
Processing by EchoController#echo as HTML
|
1744
|
+
Parameters: {"foo"=>"bar"}
|
1745
|
+
HTTP Logger Request ID: 4f66dca634076579c200000a
|
1746
|
+
Completed 200 OK in 0ms
|
1747
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1748
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1749
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1750
|
+
|
1751
|
+
|
1752
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1753
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c200000b'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1754
|
+
Processing by EchoController#echo as HTML
|
1755
|
+
HTTP Logger Request ID: 4f66dca634076579c200000b
|
1756
|
+
Completed 200 OK in 0ms
|
1757
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1758
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1759
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1760
|
+
|
1761
|
+
|
1762
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1763
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c200000c'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1764
|
+
Processing by EchoController#echo as HTML
|
1765
|
+
HTTP Logger Request ID: 4f66dca634076579c200000c
|
1766
|
+
Completed 200 OK in 0ms
|
1767
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
1768
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1769
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1770
|
+
|
1771
|
+
|
1772
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1773
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c200000d'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1774
|
+
Processing by EchoController#echo as HTML
|
1775
|
+
HTTP Logger Request ID: 4f66dca634076579c200000d
|
1776
|
+
Completed 200 OK in 0ms
|
1777
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1778
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1779
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1780
|
+
|
1781
|
+
|
1782
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1783
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c200000e'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1784
|
+
Processing by EchoController#echo as HTML
|
1785
|
+
HTTP Logger Request ID: 4f66dca634076579c200000e
|
1786
|
+
Completed 200 OK in 0ms
|
1787
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1788
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1789
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1790
|
+
|
1791
|
+
|
1792
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1793
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_USER_AGENT"=>"foobar", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c200000f'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>"foobar", "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1794
|
+
Processing by EchoController#echo as HTML
|
1795
|
+
HTTP Logger Request ID: 4f66dca634076579c200000f
|
1796
|
+
Completed 200 OK in 0ms
|
1797
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1798
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1799
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1800
|
+
|
1801
|
+
|
1802
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1803
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{"foo"=>"bar"}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c2000010'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/xml", "raw_post"=>"<?xml ?><foo>bar</foo>", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1804
|
+
Processing by EchoController#echo as HTML
|
1805
|
+
Parameters: {"foo"=>"bar"}
|
1806
|
+
HTTP Logger Request ID: 4f66dca634076579c2000010
|
1807
|
+
Completed 200 OK in 0ms
|
1808
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1809
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1810
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1811
|
+
|
1812
|
+
|
1813
|
+
Started POST "/" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1814
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c2000011'), "http_method"=>"POST", "url"=>"http://www.example.com/", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1815
|
+
Processing by EchoController#echo as HTML
|
1816
|
+
HTTP Logger Request ID: 4f66dca634076579c2000011
|
1817
|
+
Completed 200 OK in 0ms
|
1818
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
1819
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1820
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
1821
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c2000012'), "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1822
|
+
|
1823
|
+
|
1824
|
+
Started GET "/logs/requests/4f66dca634076579c2000012?format=json" for 127.0.0.1 at 2012-03-19 08:13:42 +0100
|
1825
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"www.example.com", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>""}, "params"=>{"format"=>"json"}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f66dca634076579c2000013'), "http_method"=>"GET", "url"=>"http://www.example.com/logs/requests/4f66dca634076579c2000012?format=json", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-19 07:13:42 UTC, "created_at"=>2012-03-19 07:13:42 UTC}])
|
1826
|
+
Processing by HttpLog::RequestsController#show as JSON
|
1827
|
+
Parameters: {"id"=>"4f66dca634076579c2000012"}
|
1828
|
+
HTTP Logger Request ID: 4f66dca634076579c2000013
|
1829
|
+
MONGODB (1ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f66dca634076579c2000012')}).limit(-1).sort([[:_id, :asc]])
|
1830
|
+
Completed 200 OK in 35ms (Views: 0.7ms)
|
1831
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
1832
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70172480158860 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,21 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70172480158860
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: jquery-rails
|
27
|
+
requirement: &70172480157200 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70172480157200
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: mongoid
|
27
|
-
requirement: &
|
38
|
+
requirement: &70172480155320 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
40
|
requirements:
|
30
41
|
- - ! '>='
|
@@ -32,10 +43,10 @@ dependencies:
|
|
32
43
|
version: '0'
|
33
44
|
type: :runtime
|
34
45
|
prerelease: false
|
35
|
-
version_requirements: *
|
46
|
+
version_requirements: *70172480155320
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: bson_ext
|
38
|
-
requirement: &
|
49
|
+
requirement: &70172480153300 !ruby/object:Gem::Requirement
|
39
50
|
none: false
|
40
51
|
requirements:
|
41
52
|
- - ! '>='
|
@@ -43,10 +54,10 @@ dependencies:
|
|
43
54
|
version: '0'
|
44
55
|
type: :runtime
|
45
56
|
prerelease: false
|
46
|
-
version_requirements: *
|
57
|
+
version_requirements: *70172480153300
|
47
58
|
- !ruby/object:Gem::Dependency
|
48
59
|
name: sass-rails
|
49
|
-
requirement: &
|
60
|
+
requirement: &70172480167100 !ruby/object:Gem::Requirement
|
50
61
|
none: false
|
51
62
|
requirements:
|
52
63
|
- - ! '>='
|
@@ -54,10 +65,10 @@ dependencies:
|
|
54
65
|
version: '0'
|
55
66
|
type: :runtime
|
56
67
|
prerelease: false
|
57
|
-
version_requirements: *
|
68
|
+
version_requirements: *70172480167100
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: database_cleaner
|
60
|
-
requirement: &
|
71
|
+
requirement: &70172480165220 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
73
|
requirements:
|
63
74
|
- - ! '>='
|
@@ -65,7 +76,7 @@ dependencies:
|
|
65
76
|
version: '0'
|
66
77
|
type: :development
|
67
78
|
prerelease: false
|
68
|
-
version_requirements: *
|
79
|
+
version_requirements: *70172480165220
|
69
80
|
description:
|
70
81
|
email:
|
71
82
|
- me@broadcastingdam.com
|
@@ -184,7 +195,6 @@ files:
|
|
184
195
|
- test/dummy/tmp/cache/assets/E0D/320/sprockets%2Fbf429fbc894ba0b9e4e65fd9825c1fbe
|
185
196
|
- test/dummy/tmp/cache/assets/E23/000/sprockets%2Fa2e82546ad8185cbdbbcc6b7fa33db3c
|
186
197
|
- test/dummy/tmp/cache/assets/E54/5F0/sprockets%2Fffb07dbaf19b3044d2fb165c1eefaf9a
|
187
|
-
- test/dummy/tmp/pids/server.pid
|
188
198
|
- test/integration/filters_test.rb
|
189
199
|
- test/integration/logging_test.rb
|
190
200
|
- test/integration/precompiling_test.rb
|
@@ -207,7 +217,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
217
|
version: '0'
|
208
218
|
segments:
|
209
219
|
- 0
|
210
|
-
hash:
|
220
|
+
hash: 3884747589804471019
|
211
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
222
|
none: false
|
213
223
|
requirements:
|
@@ -216,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
226
|
version: '0'
|
217
227
|
segments:
|
218
228
|
- 0
|
219
|
-
hash:
|
229
|
+
hash: 3884747589804471019
|
220
230
|
requirements: []
|
221
231
|
rubyforge_project:
|
222
232
|
rubygems_version: 1.8.11
|
@@ -318,7 +328,6 @@ test_files:
|
|
318
328
|
- test/dummy/tmp/cache/assets/E0D/320/sprockets%2Fbf429fbc894ba0b9e4e65fd9825c1fbe
|
319
329
|
- test/dummy/tmp/cache/assets/E23/000/sprockets%2Fa2e82546ad8185cbdbbcc6b7fa33db3c
|
320
330
|
- test/dummy/tmp/cache/assets/E54/5F0/sprockets%2Fffb07dbaf19b3044d2fb165c1eefaf9a
|
321
|
-
- test/dummy/tmp/pids/server.pid
|
322
331
|
- test/integration/filters_test.rb
|
323
332
|
- test/integration/logging_test.rb
|
324
333
|
- test/integration/precompiling_test.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
66068
|