http_log 0.1.1 → 0.1.3

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.
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html id="http-log-page">
2
+ <html>
3
3
  <head>
4
4
  <title>HTTP Logger</title>
5
5
  <%= stylesheet_link_tag "http_log" %>
@@ -19,6 +19,11 @@ module HttpLog
19
19
  class Engine < ::Rails::Engine
20
20
  isolate_namespace HttpLog
21
21
 
22
+ initializer "http_log.assets" do |app|
23
+ app.config.assets.precompile << 'http_log.js'
24
+ app.config.assets.precompile << 'http_log.css'
25
+ end
26
+
22
27
  initializer "http_log.middlware" do |app|
23
28
  app.middleware.use HttpLog::Middleware
24
29
  end
@@ -1,3 +1,3 @@
1
1
  module HttpLog
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -944,3 +944,76 @@ Served asset /http_log_bootstrap.js - 304 Not Modified (0ms)
944
944
 
945
945
  Started GET "/assets/http_log.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
946
946
  Served asset /http_log.js - 304 Not Modified (0ms)
947
+ 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.
948
+ MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
949
+
950
+
951
+ Started GET "/logs/requests/4f61e48c340765fd1500000b" for 127.0.0.1 at 2012-03-15 14:23:49 +0100
952
+ MONGODB (0ms) http_log_development['system.namespaces'].find({})
953
+ MONGODB (0ms) http_log_development['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"localhost:3000", "HTTP_CONNECTION"=>"keep-alive", "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "HTTP_COOKIE"=>"_gauges_unique_month=1; _gauges_unique_year=1; _gauges_unique=1", "HTTP_IF_NONE_MATCH"=>"\"70032b7034cb4f6340a9e7f804f0cb5d\"", "HTTP_VERSION"=>"HTTP/1.1"}, "params"=>{}, "cookies"=>{"_gauges_unique_month"=>"1", "_gauges_unique_year"=>"1", "_gauges_unique"=>"1"}, "_id"=>BSON::ObjectId('4f61ed653407650214000001'), "http_method"=>"GET", "url"=>"http://localhost:3000/logs/requests/4f61e48c340765fd1500000b", "user_agent"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11", "content_type"=>nil, "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-15 13:23:49 UTC, "created_at"=>2012-03-15 13:23:49 UTC}])
954
+ Processing by HttpLog::RequestsController#show as HTML
955
+ Parameters: {"id"=>"4f61e48c340765fd1500000b"}
956
+ HTTP Logger Request ID: 4f61ed653407650214000001
957
+ MONGODB (0ms) http_log_development['http_log_requests'].find({:_id=>BSON::ObjectId('4f61e48c340765fd1500000b')}).limit(-1).sort([[:_id, :asc]])
958
+ Rendered /Users/adam/threadedlabs/http_log/app/views/http_log/requests/show.html.erb within layouts/http_log/requests (2.8ms)
959
+ Compiled http_log_bootstrap.css (381ms) (pid 66068)
960
+ Compiled http_log.css (0ms) (pid 66068)
961
+ Completed 200 OK in 435ms (Views: 433.0ms)
962
+
963
+
964
+ Started GET "/assets/http_log.css?body=1" for 127.0.0.1 at 2012-03-15 14:23:49 +0100
965
+ Served asset /http_log.css - 304 Not Modified (35ms)
966
+
967
+
968
+ Started GET "/assets/http_log_bootstrap.js?body=1" for 127.0.0.1 at 2012-03-15 14:23:49 +0100
969
+ Served asset /http_log_bootstrap.js - 304 Not Modified (1ms)
970
+
971
+
972
+ Started GET "/assets/http_log_bootstrap.css?body=1" for 127.0.0.1 at 2012-03-15 14:23:49 +0100
973
+ Served asset /http_log_bootstrap.css - 200 OK (1ms)
974
+
975
+
976
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-15 14:23:49 +0100
977
+ Served asset /jquery.js - 304 Not Modified (2ms)
978
+
979
+
980
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-15 14:23:49 +0100
981
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
982
+
983
+
984
+ Started GET "/assets/http_log.js?body=1" for 127.0.0.1 at 2012-03-15 14:23:49 +0100
985
+ Served asset /http_log.js - 304 Not Modified (8ms)
986
+
987
+
988
+ Started GET "/logs/requests/4f61e48c340765fd1500000b" for 127.0.0.1 at 2012-03-15 14:24:03 +0100
989
+ MONGODB (0ms) http_log_development['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"localhost:3000", "HTTP_CONNECTION"=>"keep-alive", "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "HTTP_COOKIE"=>"_gauges_unique_month=1; _gauges_unique_year=1; _gauges_unique=1", "HTTP_IF_NONE_MATCH"=>"\"d1214af7ca6b2f9d742908d1677985f1\"", "HTTP_VERSION"=>"HTTP/1.1"}, "params"=>{}, "cookies"=>{"_gauges_unique_month"=>"1", "_gauges_unique_year"=>"1", "_gauges_unique"=>"1"}, "_id"=>BSON::ObjectId('4f61ed733407650214000002'), "http_method"=>"GET", "url"=>"http://localhost:3000/logs/requests/4f61e48c340765fd1500000b", "user_agent"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11", "content_type"=>nil, "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-15 13:24:03 UTC, "created_at"=>2012-03-15 13:24:03 UTC}])
990
+ Processing by HttpLog::RequestsController#show as HTML
991
+ Parameters: {"id"=>"4f61e48c340765fd1500000b"}
992
+ HTTP Logger Request ID: 4f61ed733407650214000002
993
+ MONGODB (0ms) http_log_development['http_log_requests'].find({:_id=>BSON::ObjectId('4f61e48c340765fd1500000b')}).limit(-1).sort([[:_id, :asc]])
994
+ Rendered /Users/adam/threadedlabs/http_log/app/views/http_log/requests/show.html.erb within layouts/http_log/requests (1.1ms)
995
+ Completed 200 OK in 8ms (Views: 6.1ms)
996
+
997
+
998
+ Started GET "/assets/http_log.css?body=1" for 127.0.0.1 at 2012-03-15 14:24:03 +0100
999
+ Served asset /http_log.css - 304 Not Modified (0ms)
1000
+
1001
+
1002
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-15 14:24:03 +0100
1003
+ Served asset /jquery.js - 304 Not Modified (0ms)
1004
+
1005
+
1006
+ Started GET "/assets/http_log_bootstrap.css?body=1" for 127.0.0.1 at 2012-03-15 14:24:03 +0100
1007
+ Served asset /http_log_bootstrap.css - 304 Not Modified (0ms)
1008
+
1009
+
1010
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-15 14:24:03 +0100
1011
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1012
+
1013
+
1014
+ Started GET "/assets/http_log_bootstrap.js?body=1" for 127.0.0.1 at 2012-03-15 14:24:03 +0100
1015
+ Served asset /http_log_bootstrap.js - 304 Not Modified (0ms)
1016
+
1017
+
1018
+ Started GET "/assets/http_log.js?body=1" for 127.0.0.1 at 2012-03-15 14:24:03 +0100
1019
+ Served asset /http_log.js - 304 Not Modified (0ms)
@@ -910,3 +910,693 @@ MONGODB (0ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f6
910
910
  Completed 200 OK in 12ms (Views: 0.7ms)
911
911
  MONGODB (0ms) http_log_test['system.namespaces'].find({})
912
912
  MONGODB (0ms) http_log_test['http_log_requests'].remove({})
913
+ 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.
914
+ MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
915
+
916
+
917
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
918
+ Error compiling asset application.css:
919
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
920
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
921
+ Served asset /application.css - 500 Internal Server Error
922
+
923
+
924
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
925
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
926
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
927
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
928
+
929
+
930
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
931
+ Error compiling asset application.css:
932
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
933
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
934
+ Served asset /application.css - 500 Internal Server Error
935
+
936
+
937
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
938
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
939
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
940
+
941
+
942
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
943
+ Error compiling asset application.css:
944
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
945
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
946
+ Served asset /application.css - 500 Internal Server Error
947
+
948
+
949
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
950
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
951
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
952
+
953
+
954
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
955
+ 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('4f61ec1d340765012d000001'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
956
+ Processing by EchoController#echo as HTML
957
+ Parameters: {"echo"=>{"controller"=>"echo", "action"=>"echo"}}
958
+ HTTP Logger Request ID: 4f61ec1d340765012d000001
959
+ Completed 200 OK in 0ms
960
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
961
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
962
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
963
+
964
+
965
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
966
+ 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('4f61ec1d340765012d000002'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
967
+ Processing by EchoController#echo as HTML
968
+ HTTP Logger Request ID: 4f61ec1d340765012d000002
969
+ Completed 200 OK in 0ms
970
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
971
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
972
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
973
+
974
+
975
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
976
+ 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('4f61ec1d340765012d000003'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
977
+ Processing by EchoController#echo as HTML
978
+ HTTP Logger Request ID: 4f61ec1d340765012d000003
979
+ Completed 200 OK in 0ms
980
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
981
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
982
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
983
+
984
+
985
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
986
+ 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('4f61ec1d340765012d000004'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
987
+ Processing by EchoController#echo as JSON
988
+ HTTP Logger Request ID: 4f61ec1d340765012d000004
989
+ Completed 200 OK in 0ms
990
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
991
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
992
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
993
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
994
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
995
+
996
+
997
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
998
+ 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('4f61ec1d340765012d000005'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
999
+ Processing by EchoController#echo as HTML
1000
+ Parameters: {"foo"=>"bar", "echo"=>{"foo"=>"bar", "controller"=>"echo", "action"=>"echo"}}
1001
+ HTTP Logger Request ID: 4f61ec1d340765012d000005
1002
+ Completed 200 OK in 0ms
1003
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1004
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1005
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1006
+
1007
+
1008
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1009
+ 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('4f61ec1d340765012d000006'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1010
+ Processing by EchoController#echo as HTML
1011
+ HTTP Logger Request ID: 4f61ec1d340765012d000006
1012
+ Completed 200 OK in 0ms
1013
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1014
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1015
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1016
+
1017
+
1018
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1019
+ 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('4f61ec1d340765012d000007'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1020
+ Processing by EchoController#echo as HTML
1021
+ Parameters: {"foo"=>"bar"}
1022
+ HTTP Logger Request ID: 4f61ec1d340765012d000007
1023
+ Completed 200 OK in 0ms
1024
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1025
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1026
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1027
+
1028
+
1029
+ Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1030
+ 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('4f61ec1d340765012d000008'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1031
+ Processing by EchoController#echo as HTML
1032
+ Parameters: {"foo"=>"bar"}
1033
+ HTTP Logger Request ID: 4f61ec1d340765012d000008
1034
+ Completed 200 OK in 0ms
1035
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1036
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1037
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1038
+
1039
+
1040
+ Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1041
+ 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('4f61ec1d340765012d000009'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1042
+ Processing by EchoController#echo as HTML
1043
+ Parameters: {"foo"=>"bar"}
1044
+ HTTP Logger Request ID: 4f61ec1d340765012d000009
1045
+ Completed 200 OK in 0ms
1046
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1047
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1048
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1049
+
1050
+
1051
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1052
+ 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('4f61ec1d340765012d00000a'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1053
+ Processing by EchoController#echo as HTML
1054
+ Parameters: {"foo"=>"bar"}
1055
+ HTTP Logger Request ID: 4f61ec1d340765012d00000a
1056
+ Completed 200 OK in 0ms
1057
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1058
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1059
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1060
+
1061
+
1062
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1063
+ 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('4f61ec1d340765012d00000b'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1064
+ Processing by EchoController#echo as HTML
1065
+ HTTP Logger Request ID: 4f61ec1d340765012d00000b
1066
+ Completed 200 OK in 0ms
1067
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1068
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1069
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1070
+
1071
+
1072
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1073
+ 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('4f61ec1d340765012d00000c'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1074
+ Processing by EchoController#echo as HTML
1075
+ HTTP Logger Request ID: 4f61ec1d340765012d00000c
1076
+ Completed 200 OK in 0ms
1077
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1078
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1079
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1080
+
1081
+
1082
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1083
+ 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('4f61ec1d340765012d00000d'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1084
+ Processing by EchoController#echo as HTML
1085
+ HTTP Logger Request ID: 4f61ec1d340765012d00000d
1086
+ Completed 200 OK in 0ms
1087
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1088
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1089
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1090
+
1091
+
1092
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1093
+ 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('4f61ec1d340765012d00000e'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1094
+ Processing by EchoController#echo as HTML
1095
+ HTTP Logger Request ID: 4f61ec1d340765012d00000e
1096
+ Completed 200 OK in 0ms
1097
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1098
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1099
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1100
+
1101
+
1102
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1103
+ 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('4f61ec1d340765012d00000f'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1104
+ Processing by EchoController#echo as HTML
1105
+ HTTP Logger Request ID: 4f61ec1d340765012d00000f
1106
+ Completed 200 OK in 0ms
1107
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1108
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1109
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1110
+
1111
+
1112
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1113
+ 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('4f61ec1d340765012d000010'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1114
+ Processing by EchoController#echo as HTML
1115
+ Parameters: {"foo"=>"bar"}
1116
+ HTTP Logger Request ID: 4f61ec1d340765012d000010
1117
+ Completed 200 OK in 0ms
1118
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1119
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1120
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1121
+
1122
+
1123
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1124
+ 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('4f61ec1d340765012d000011'), "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-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1125
+ Processing by EchoController#echo as HTML
1126
+ HTTP Logger Request ID: 4f61ec1d340765012d000011
1127
+ Completed 200 OK in 0ms
1128
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1129
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1130
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1131
+ MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f61ec1d340765012d000012'), "updated_at"=>2012-03-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1132
+
1133
+
1134
+ Started GET "/logs/requests/4f61ec1d340765012d000012?format=json" for 127.0.0.1 at 2012-03-15 14:18:21 +0100
1135
+ 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('4f61ec1d340765012d000013'), "http_method"=>"GET", "url"=>"http://www.example.com/logs/requests/4f61ec1d340765012d000012?format=json", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-15 13:18:21 UTC, "created_at"=>2012-03-15 13:18:21 UTC}])
1136
+ Processing by HttpLog::RequestsController#show as JSON
1137
+ Parameters: {"id"=>"4f61ec1d340765012d000012"}
1138
+ HTTP Logger Request ID: 4f61ec1d340765012d000013
1139
+ MONGODB (0ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f61ec1d340765012d000012')}).limit(-1).sort([[:_id, :asc]])
1140
+ Completed 200 OK in 12ms (Views: 0.7ms)
1141
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1142
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1143
+ 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.
1144
+ MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
1145
+
1146
+
1147
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1148
+ Error compiling asset application.css:
1149
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
1150
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
1151
+ Served asset /application.css - 500 Internal Server Error
1152
+
1153
+
1154
+ MONGODB (1ms) http_log_test['system.namespaces'].find({})
1155
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1156
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1157
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1158
+
1159
+
1160
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1161
+ Error compiling asset application.css:
1162
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
1163
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
1164
+ Served asset /application.css - 500 Internal Server Error
1165
+
1166
+
1167
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1168
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1169
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1170
+
1171
+
1172
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1173
+ Error compiling asset application.css:
1174
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
1175
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
1176
+ Served asset /application.css - 500 Internal Server Error
1177
+
1178
+
1179
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1180
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1181
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1182
+
1183
+
1184
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1185
+ 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('4f61ec27340765014a000001'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1186
+ Processing by EchoController#echo as HTML
1187
+ Parameters: {"echo"=>{"controller"=>"echo", "action"=>"echo"}}
1188
+ HTTP Logger Request ID: 4f61ec27340765014a000001
1189
+ Completed 200 OK in 0ms
1190
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1191
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1192
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1193
+
1194
+
1195
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1196
+ 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('4f61ec27340765014a000002'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1197
+ Processing by EchoController#echo as HTML
1198
+ HTTP Logger Request ID: 4f61ec27340765014a000002
1199
+ Completed 200 OK in 0ms
1200
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1201
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1202
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1203
+
1204
+
1205
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1206
+ 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('4f61ec27340765014a000003'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1207
+ Processing by EchoController#echo as HTML
1208
+ HTTP Logger Request ID: 4f61ec27340765014a000003
1209
+ Completed 200 OK in 0ms
1210
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1211
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1212
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1213
+
1214
+
1215
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1216
+ 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('4f61ec27340765014a000004'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1217
+ Processing by EchoController#echo as JSON
1218
+ HTTP Logger Request ID: 4f61ec27340765014a000004
1219
+ Completed 200 OK in 0ms
1220
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1221
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1222
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1223
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1224
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1225
+
1226
+
1227
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1228
+ 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('4f61ec27340765014a000005'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1229
+ Processing by EchoController#echo as HTML
1230
+ Parameters: {"foo"=>"bar", "echo"=>{"foo"=>"bar", "controller"=>"echo", "action"=>"echo"}}
1231
+ HTTP Logger Request ID: 4f61ec27340765014a000005
1232
+ Completed 200 OK in 0ms
1233
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1234
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1235
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1236
+
1237
+
1238
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1239
+ 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('4f61ec27340765014a000006'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1240
+ Processing by EchoController#echo as HTML
1241
+ HTTP Logger Request ID: 4f61ec27340765014a000006
1242
+ Completed 200 OK in 0ms
1243
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1244
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1245
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1246
+
1247
+
1248
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1249
+ 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('4f61ec27340765014a000007'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1250
+ Processing by EchoController#echo as HTML
1251
+ Parameters: {"foo"=>"bar"}
1252
+ HTTP Logger Request ID: 4f61ec27340765014a000007
1253
+ Completed 200 OK in 0ms
1254
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1255
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1256
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1257
+
1258
+
1259
+ Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1260
+ 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('4f61ec27340765014a000008'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1261
+ Processing by EchoController#echo as HTML
1262
+ Parameters: {"foo"=>"bar"}
1263
+ HTTP Logger Request ID: 4f61ec27340765014a000008
1264
+ Completed 200 OK in 0ms
1265
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1266
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1267
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1268
+
1269
+
1270
+ Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1271
+ 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('4f61ec27340765014a000009'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1272
+ Processing by EchoController#echo as HTML
1273
+ Parameters: {"foo"=>"bar"}
1274
+ HTTP Logger Request ID: 4f61ec27340765014a000009
1275
+ Completed 200 OK in 0ms
1276
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1277
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1278
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1279
+
1280
+
1281
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1282
+ 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('4f61ec27340765014a00000a'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1283
+ Processing by EchoController#echo as HTML
1284
+ Parameters: {"foo"=>"bar"}
1285
+ HTTP Logger Request ID: 4f61ec27340765014a00000a
1286
+ Completed 200 OK in 0ms
1287
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1288
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1289
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1290
+
1291
+
1292
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1293
+ 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('4f61ec27340765014a00000b'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1294
+ Processing by EchoController#echo as HTML
1295
+ HTTP Logger Request ID: 4f61ec27340765014a00000b
1296
+ Completed 200 OK in 0ms
1297
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1298
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1299
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1300
+
1301
+
1302
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1303
+ 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('4f61ec27340765014a00000c'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1304
+ Processing by EchoController#echo as HTML
1305
+ HTTP Logger Request ID: 4f61ec27340765014a00000c
1306
+ Completed 200 OK in 0ms
1307
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1308
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1309
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1310
+
1311
+
1312
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1313
+ 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('4f61ec27340765014a00000d'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1314
+ Processing by EchoController#echo as HTML
1315
+ HTTP Logger Request ID: 4f61ec27340765014a00000d
1316
+ Completed 200 OK in 0ms
1317
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1318
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1319
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1320
+
1321
+
1322
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1323
+ 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('4f61ec27340765014a00000e'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1324
+ Processing by EchoController#echo as HTML
1325
+ HTTP Logger Request ID: 4f61ec27340765014a00000e
1326
+ Completed 200 OK in 0ms
1327
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1328
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1329
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1330
+
1331
+
1332
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1333
+ 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('4f61ec27340765014a00000f'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1334
+ Processing by EchoController#echo as HTML
1335
+ HTTP Logger Request ID: 4f61ec27340765014a00000f
1336
+ Completed 200 OK in 0ms
1337
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1338
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1339
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1340
+
1341
+
1342
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1343
+ 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('4f61ec27340765014a000010'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1344
+ Processing by EchoController#echo as HTML
1345
+ Parameters: {"foo"=>"bar"}
1346
+ HTTP Logger Request ID: 4f61ec27340765014a000010
1347
+ Completed 200 OK in 0ms
1348
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1349
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1350
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1351
+
1352
+
1353
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1354
+ 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('4f61ec27340765014a000011'), "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-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1355
+ Processing by EchoController#echo as HTML
1356
+ HTTP Logger Request ID: 4f61ec27340765014a000011
1357
+ Completed 200 OK in 0ms
1358
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1359
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1360
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1361
+ MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f61ec27340765014a000012'), "updated_at"=>2012-03-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1362
+
1363
+
1364
+ Started GET "/logs/requests/4f61ec27340765014a000012?format=json" for 127.0.0.1 at 2012-03-15 14:18:31 +0100
1365
+ 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('4f61ec27340765014a000013'), "http_method"=>"GET", "url"=>"http://www.example.com/logs/requests/4f61ec27340765014a000012?format=json", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-15 13:18:31 UTC, "created_at"=>2012-03-15 13:18:31 UTC}])
1366
+ Processing by HttpLog::RequestsController#show as JSON
1367
+ Parameters: {"id"=>"4f61ec27340765014a000012"}
1368
+ HTTP Logger Request ID: 4f61ec27340765014a000013
1369
+ MONGODB (0ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f61ec27340765014a000012')}).limit(-1).sort([[:_id, :asc]])
1370
+ Completed 200 OK in 12ms (Views: 0.7ms)
1371
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1372
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1373
+ 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.
1374
+ MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
1375
+
1376
+
1377
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1378
+ Error compiling asset application.css:
1379
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
1380
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
1381
+ Served asset /application.css - 500 Internal Server Error
1382
+
1383
+
1384
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1385
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1386
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1387
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1388
+
1389
+
1390
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1391
+ Error compiling asset application.css:
1392
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
1393
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
1394
+ Served asset /application.css - 500 Internal Server Error
1395
+
1396
+
1397
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1398
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1399
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1400
+
1401
+
1402
+ Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1403
+ Error compiling asset application.css:
1404
+ Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
1405
+ (in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
1406
+ Served asset /application.css - 500 Internal Server Error
1407
+
1408
+
1409
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1410
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1411
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1412
+
1413
+
1414
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1415
+ 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('4f61ec8a340765018a000001'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1416
+ Processing by EchoController#echo as HTML
1417
+ Parameters: {"echo"=>{"controller"=>"echo", "action"=>"echo"}}
1418
+ HTTP Logger Request ID: 4f61ec8a340765018a000001
1419
+ Completed 200 OK in 0ms
1420
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1421
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1422
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1423
+
1424
+
1425
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1426
+ 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('4f61ec8a340765018a000002'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1427
+ Processing by EchoController#echo as HTML
1428
+ HTTP Logger Request ID: 4f61ec8a340765018a000002
1429
+ Completed 200 OK in 0ms
1430
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1431
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1432
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1433
+
1434
+
1435
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1436
+ 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('4f61ec8a340765018a000003'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1437
+ Processing by EchoController#echo as HTML
1438
+ HTTP Logger Request ID: 4f61ec8a340765018a000003
1439
+ Completed 200 OK in 0ms
1440
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1441
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1442
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1443
+
1444
+
1445
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1446
+ 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('4f61ec8a340765018a000004'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1447
+ Processing by EchoController#echo as JSON
1448
+ HTTP Logger Request ID: 4f61ec8a340765018a000004
1449
+ Completed 200 OK in 0ms
1450
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1451
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1452
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1453
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1454
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1455
+
1456
+
1457
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1458
+ 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('4f61ec8a340765018a000005'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1459
+ Processing by EchoController#echo as HTML
1460
+ Parameters: {"foo"=>"bar", "echo"=>{"foo"=>"bar", "controller"=>"echo", "action"=>"echo"}}
1461
+ HTTP Logger Request ID: 4f61ec8a340765018a000005
1462
+ Completed 200 OK in 0ms
1463
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1464
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1465
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1466
+
1467
+
1468
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1469
+ 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('4f61ec8a340765018a000006'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1470
+ Processing by EchoController#echo as HTML
1471
+ HTTP Logger Request ID: 4f61ec8a340765018a000006
1472
+ Completed 200 OK in 0ms
1473
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1474
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1475
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1476
+
1477
+
1478
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1479
+ 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('4f61ec8a340765018a000007'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1480
+ Processing by EchoController#echo as HTML
1481
+ Parameters: {"foo"=>"bar"}
1482
+ HTTP Logger Request ID: 4f61ec8a340765018a000007
1483
+ Completed 200 OK in 0ms
1484
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1485
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1486
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1487
+
1488
+
1489
+ Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1490
+ 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('4f61ec8a340765018a000008'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1491
+ Processing by EchoController#echo as HTML
1492
+ Parameters: {"foo"=>"bar"}
1493
+ HTTP Logger Request ID: 4f61ec8a340765018a000008
1494
+ Completed 200 OK in 0ms
1495
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1496
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1497
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1498
+
1499
+
1500
+ Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1501
+ 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('4f61ec8a340765018a000009'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1502
+ Processing by EchoController#echo as HTML
1503
+ Parameters: {"foo"=>"bar"}
1504
+ HTTP Logger Request ID: 4f61ec8a340765018a000009
1505
+ Completed 200 OK in 0ms
1506
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1507
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1508
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1509
+
1510
+
1511
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1512
+ 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('4f61ec8a340765018a00000a'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1513
+ Processing by EchoController#echo as HTML
1514
+ Parameters: {"foo"=>"bar"}
1515
+ HTTP Logger Request ID: 4f61ec8a340765018a00000a
1516
+ Completed 200 OK in 0ms
1517
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1518
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1519
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1520
+
1521
+
1522
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1523
+ 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('4f61ec8a340765018a00000b'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1524
+ Processing by EchoController#echo as HTML
1525
+ HTTP Logger Request ID: 4f61ec8a340765018a00000b
1526
+ Completed 200 OK in 0ms
1527
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1528
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1529
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1530
+
1531
+
1532
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1533
+ 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('4f61ec8a340765018a00000c'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1534
+ Processing by EchoController#echo as HTML
1535
+ HTTP Logger Request ID: 4f61ec8a340765018a00000c
1536
+ Completed 200 OK in 0ms
1537
+ MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
1538
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1539
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1540
+
1541
+
1542
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1543
+ 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('4f61ec8a340765018a00000d'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1544
+ Processing by EchoController#echo as HTML
1545
+ HTTP Logger Request ID: 4f61ec8a340765018a00000d
1546
+ Completed 200 OK in 0ms
1547
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1548
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1549
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1550
+
1551
+
1552
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1553
+ 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('4f61ec8a340765018a00000e'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1554
+ Processing by EchoController#echo as HTML
1555
+ HTTP Logger Request ID: 4f61ec8a340765018a00000e
1556
+ Completed 200 OK in 0ms
1557
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1558
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1559
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1560
+
1561
+
1562
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1563
+ 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('4f61ec8a340765018a00000f'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1564
+ Processing by EchoController#echo as HTML
1565
+ HTTP Logger Request ID: 4f61ec8a340765018a00000f
1566
+ Completed 200 OK in 0ms
1567
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1568
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1569
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1570
+
1571
+
1572
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1573
+ 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('4f61ec8a340765018a000010'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1574
+ Processing by EchoController#echo as HTML
1575
+ Parameters: {"foo"=>"bar"}
1576
+ HTTP Logger Request ID: 4f61ec8a340765018a000010
1577
+ Completed 200 OK in 0ms
1578
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1579
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1580
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1581
+
1582
+
1583
+ Started POST "/" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1584
+ 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('4f61ec8a340765018a000011'), "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-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1585
+ Processing by EchoController#echo as HTML
1586
+ HTTP Logger Request ID: 4f61ec8a340765018a000011
1587
+ Completed 200 OK in 0ms
1588
+ MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
1589
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1590
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})
1591
+ MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f61ec8a340765018a000012'), "updated_at"=>2012-03-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1592
+
1593
+
1594
+ Started GET "/logs/requests/4f61ec8a340765018a000012?format=json" for 127.0.0.1 at 2012-03-15 14:20:10 +0100
1595
+ 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('4f61ec8a340765018a000013'), "http_method"=>"GET", "url"=>"http://www.example.com/logs/requests/4f61ec8a340765018a000012?format=json", "user_agent"=>nil, "content_type"=>"application/x-www-form-urlencoded", "raw_post"=>"", "remote_ip"=>"127.0.0.1", "updated_at"=>2012-03-15 13:20:10 UTC, "created_at"=>2012-03-15 13:20:10 UTC}])
1596
+ Processing by HttpLog::RequestsController#show as JSON
1597
+ Parameters: {"id"=>"4f61ec8a340765018a000012"}
1598
+ HTTP Logger Request ID: 4f61ec8a340765018a000013
1599
+ MONGODB (0ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f61ec8a340765018a000012')}).limit(-1).sort([[:_id, :asc]])
1600
+ Completed 200 OK in 12ms (Views: 0.6ms)
1601
+ MONGODB (0ms) http_log_test['system.namespaces'].find({})
1602
+ MONGODB (0ms) http_log_test['http_log_requests'].remove({})