http_log 0.1.0 → 0.1.1
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/app/assets/javascripts/http_log.js +1 -1
- data/app/assets/stylesheets/http_log.css +1 -5
- data/app/assets/stylesheets/http_log_bootstrap.css.scss +1418 -0
- data/app/views/layouts/http_log/requests.html.erb +2 -2
- data/lib/http_log/version.rb +1 -1
- data/test/dummy/log/development.log +206 -0
- data/test/dummy/log/test.log +228 -0
- data/test/dummy/tmp/cache/assets/C7D/2D0/sprockets%2F8d34a97ab05936ab54d31881c8005329 +0 -0
- data/test/dummy/tmp/cache/assets/CD7/1F0/sprockets%2Fec1bfc2a41850057178b1545635b65df +0 -0
- data/test/dummy/tmp/cache/assets/CE2/C60/sprockets%2Ff4b465686942bc061c6b216e530fff45 +0 -0
- data/test/dummy/tmp/cache/assets/D88/C50/sprockets%2F9bdc671419016acad2ff21da03b39a0f +0 -0
- data/test/dummy/tmp/cache/assets/DD0/A30/sprockets%2F54f4d51d8f83e5e823beccab890d2c3a +0 -0
- data/test/dummy/tmp/cache/assets/DD6/7D0/sprockets%2Fcc968677b58fa5f7339bcadb1700aaff +0 -0
- data/test/dummy/tmp/cache/assets/DDA/D30/sprockets%2Fd383a6dc76c00f0ed798addceec88482 +0 -0
- data/test/dummy/tmp/cache/assets/DEA/DA0/sprockets%2F10cae5c1a2af7c7aafad8932bf560c07 +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- metadata +27 -12
- data/app/assets/stylesheets/http_log_bootstrap.css +0 -1409
@@ -1,11 +1,11 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html>
|
2
|
+
<html id="http-log-page">
|
3
3
|
<head>
|
4
4
|
<title>HTTP Logger</title>
|
5
5
|
<%= stylesheet_link_tag "http_log" %>
|
6
6
|
<%= javascript_include_tag "http_log" %>
|
7
7
|
</head>
|
8
|
-
<body id="http-
|
8
|
+
<body id="http-log" style="padding-top: 60px">
|
9
9
|
<div class="navbar navbar-fixed-top">
|
10
10
|
<div class="navbar-inner">
|
11
11
|
<div class="container">
|
data/lib/http_log/version.rb
CHANGED
@@ -738,3 +738,209 @@ Served asset /http_log_bootstrap.js - 304 Not Modified (0ms)
|
|
738
738
|
|
739
739
|
Started GET "/assets/http_log.js?body=1" for 127.0.0.1 at 2012-03-15 13:46:04 +0100
|
740
740
|
Served asset /http_log.js - 304 Not Modified (0ms)
|
741
|
+
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.
|
742
|
+
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
743
|
+
|
744
|
+
|
745
|
+
Started GET "/logs/requests/4f17ca68340765dcba000001" for 127.0.0.1 at 2012-03-15 13:57:24 +0100
|
746
|
+
MONGODB (0ms) http_log_development['system.namespaces'].find({})
|
747
|
+
MONGODB (0ms) http_log_development['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"localhost:3000", "HTTP_CONNECTION"=>"keep-alive", "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_VERSION"=>"HTTP/1.1"}, "params"=>{}, "cookies"=>{"_gauges_unique_month"=>"1", "_gauges_unique_year"=>"1", "_gauges_unique"=>"1"}, "_id"=>BSON::ObjectId('4f61e734340765fef6000001'), "http_method"=>"GET", "url"=>"http://localhost:3000/logs/requests/4f17ca68340765dcba000001", "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 12:57:24 UTC, "created_at"=>2012-03-15 12:57:24 UTC}])
|
748
|
+
Processing by HttpLog::RequestsController#show as HTML
|
749
|
+
Parameters: {"id"=>"4f17ca68340765dcba000001"}
|
750
|
+
HTTP Logger Request ID: 4f61e734340765fef6000001
|
751
|
+
MONGODB (0ms) http_log_development['http_log_requests'].find({:_id=>BSON::ObjectId('4f17ca68340765dcba000001')}).limit(-1).sort([[:_id, :asc]])
|
752
|
+
Completed 500 Internal Server Error in 9ms
|
753
|
+
|
754
|
+
Mongoid::Errors::DocumentNotFound (Document not found for class HttpLog::Request with id(s) 4f17ca68340765dcba000001.):
|
755
|
+
mongoid (2.4.6) lib/mongoid/criterion/inclusion.rb:151:in `block in execute_or_raise'
|
756
|
+
mongoid (2.4.6) lib/mongoid/criterion/inclusion.rb:149:in `tap'
|
757
|
+
mongoid (2.4.6) lib/mongoid/criterion/inclusion.rb:149:in `execute_or_raise'
|
758
|
+
mongoid (2.4.6) lib/mongoid/criterion/inclusion.rb:129:in `find'
|
759
|
+
mongoid (2.4.6) lib/mongoid/finders.rb:84:in `find'
|
760
|
+
/Users/adam/threadedlabs/http_log/app/controllers/http_log/requests_controller.rb:6:in `show'
|
761
|
+
actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
762
|
+
actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action'
|
763
|
+
actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
764
|
+
actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
765
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:414:in `_run__2169178485803453374__process_action__1111286400040579872__callbacks'
|
766
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
|
767
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
768
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
769
|
+
actionpack (3.2.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
770
|
+
actionpack (3.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
771
|
+
actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
772
|
+
activesupport (3.2.2) lib/active_support/notifications.rb:123:in `block in instrument'
|
773
|
+
activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
774
|
+
activesupport (3.2.2) lib/active_support/notifications.rb:123:in `instrument'
|
775
|
+
actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
776
|
+
actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
|
777
|
+
actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process'
|
778
|
+
actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
|
779
|
+
actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
|
780
|
+
actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
781
|
+
actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
|
782
|
+
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
|
783
|
+
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
|
784
|
+
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
|
785
|
+
journey (1.0.3) lib/journey/router.rb:68:in `block in call'
|
786
|
+
journey (1.0.3) lib/journey/router.rb:56:in `each'
|
787
|
+
journey (1.0.3) lib/journey/router.rb:56:in `call'
|
788
|
+
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
|
789
|
+
railties (3.2.2) lib/rails/engine.rb:479:in `call'
|
790
|
+
railties (3.2.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
791
|
+
journey (1.0.3) lib/journey/router.rb:68:in `block in call'
|
792
|
+
journey (1.0.3) lib/journey/router.rb:56:in `each'
|
793
|
+
journey (1.0.3) lib/journey/router.rb:56:in `call'
|
794
|
+
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
|
795
|
+
/Users/adam/threadedlabs/http_log/lib/http_log/middleware.rb:20:in `call'
|
796
|
+
mongoid (2.4.6) lib/rack/mongoid/middleware/identity_map.rb:33:in `block in call'
|
797
|
+
mongoid (2.4.6) lib/mongoid.rb:132:in `unit_of_work'
|
798
|
+
mongoid (2.4.6) lib/rack/mongoid/middleware/identity_map.rb:33:in `call'
|
799
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
800
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
801
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
802
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
|
803
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
804
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
805
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
806
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
807
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
|
808
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
809
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__1613389631097367702__call__1115826687362706394__callbacks'
|
810
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
|
811
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
812
|
+
activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
813
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
814
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
815
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
816
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
817
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
818
|
+
railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
|
819
|
+
railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
|
820
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
821
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
822
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
823
|
+
activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
824
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
825
|
+
actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
|
826
|
+
railties (3.2.2) lib/rails/engine.rb:479:in `call'
|
827
|
+
railties (3.2.2) lib/rails/application.rb:220:in `call'
|
828
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
829
|
+
railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
|
830
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
831
|
+
/Users/adam/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
832
|
+
/Users/adam/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
833
|
+
/Users/adam/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
834
|
+
|
835
|
+
|
836
|
+
Rendered /Users/adam/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
|
837
|
+
Rendered /Users/adam/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
838
|
+
Rendered /Users/adam/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.9ms)
|
839
|
+
|
840
|
+
|
841
|
+
Started GET "/logs/requests/4f61e48c340765fd1500000b" for 127.0.0.1 at 2012-03-15 13:57:28 +0100
|
842
|
+
MONGODB (0ms) http_log_development['http_log_requests'].insert([{"headers"=>{"HTTP_HOST"=>"localhost:3000", "HTTP_CONNECTION"=>"keep-alive", "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_VERSION"=>"HTTP/1.1"}, "params"=>{}, "cookies"=>{"_gauges_unique_month"=>"1", "_gauges_unique_year"=>"1", "_gauges_unique"=>"1"}, "_id"=>BSON::ObjectId('4f61e738340765fef6000002'), "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 12:57:28 UTC, "created_at"=>2012-03-15 12:57:28 UTC}])
|
843
|
+
Processing by HttpLog::RequestsController#show as HTML
|
844
|
+
Parameters: {"id"=>"4f61e48c340765fd1500000b"}
|
845
|
+
HTTP Logger Request ID: 4f61e738340765fef6000002
|
846
|
+
MONGODB (4ms) http_log_development['http_log_requests'].find({:_id=>BSON::ObjectId('4f61e48c340765fd1500000b')}).limit(-1).sort([[:_id, :asc]])
|
847
|
+
Rendered /Users/adam/threadedlabs/http_log/app/views/http_log/requests/show.html.erb within layouts/http_log/requests (2.2ms)
|
848
|
+
Compiled http_log_bootstrap.css (510ms) (pid 65270)
|
849
|
+
Compiled http_log.css (520ms) (pid 65270)
|
850
|
+
Completed 200 OK in 555ms (Views: 546.6ms)
|
851
|
+
|
852
|
+
|
853
|
+
Started GET "/assets/http_log.css?body=1" for 127.0.0.1 at 2012-03-15 13:57:28 +0100
|
854
|
+
Served asset /http_log.css - 304 Not Modified (5ms)
|
855
|
+
|
856
|
+
|
857
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-15 13:57:28 +0100
|
858
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
859
|
+
|
860
|
+
|
861
|
+
Started GET "/assets/http_log.js?body=1" for 127.0.0.1 at 2012-03-15 13:57:28 +0100
|
862
|
+
Served asset /http_log.js - 304 Not Modified (31ms)
|
863
|
+
|
864
|
+
|
865
|
+
Started GET "/assets/http_log_bootstrap.css?body=1" for 127.0.0.1 at 2012-03-15 13:57:28 +0100
|
866
|
+
Served asset /http_log_bootstrap.css - 200 OK (1ms)
|
867
|
+
|
868
|
+
|
869
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-15 13:57:28 +0100
|
870
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
871
|
+
|
872
|
+
|
873
|
+
Started GET "/assets/http_log_bootstrap.js?body=1" for 127.0.0.1 at 2012-03-15 13:57:28 +0100
|
874
|
+
Served asset /http_log_bootstrap.js - 304 Not Modified (2ms)
|
875
|
+
|
876
|
+
|
877
|
+
Started GET "/logs/requests/4f61e48c340765fd1500000b" for 127.0.0.1 at 2012-03-15 14:00:19 +0100
|
878
|
+
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"=>"\"7bd6e7dfb43255336c7dd9bc3faad79a\"", "HTTP_VERSION"=>"HTTP/1.1"}, "params"=>{}, "cookies"=>{"_gauges_unique_month"=>"1", "_gauges_unique_year"=>"1", "_gauges_unique"=>"1"}, "_id"=>BSON::ObjectId('4f61e7e3340765fef6000003'), "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:00:19 UTC, "created_at"=>2012-03-15 13:00:19 UTC}])
|
879
|
+
Processing by HttpLog::RequestsController#show as HTML
|
880
|
+
Parameters: {"id"=>"4f61e48c340765fd1500000b"}
|
881
|
+
HTTP Logger Request ID: 4f61e7e3340765fef6000003
|
882
|
+
MONGODB (4ms) http_log_development['http_log_requests'].find({:_id=>BSON::ObjectId('4f61e48c340765fd1500000b')}).limit(-1).sort([[:_id, :asc]])
|
883
|
+
Rendered /Users/adam/threadedlabs/http_log/app/views/http_log/requests/show.html.erb within layouts/http_log/requests (0.6ms)
|
884
|
+
Compiled http_log_bootstrap.css (330ms) (pid 65270)
|
885
|
+
Compiled http_log.css (0ms) (pid 65270)
|
886
|
+
Compiled http_log.js (2ms) (pid 65270)
|
887
|
+
Completed 200 OK in 392ms (Views: 386.6ms)
|
888
|
+
|
889
|
+
|
890
|
+
Started GET "/assets/http_log.css?body=1" for 127.0.0.1 at 2012-03-15 14:00:20 +0100
|
891
|
+
Served asset /http_log.css - 200 OK (8ms)
|
892
|
+
|
893
|
+
|
894
|
+
Started GET "/assets/http_log_bootstrap.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:20 +0100
|
895
|
+
Served asset /http_log_bootstrap.js - 304 Not Modified (0ms)
|
896
|
+
|
897
|
+
|
898
|
+
Started GET "/assets/http_log_bootstrap.css?body=1" for 127.0.0.1 at 2012-03-15 14:00:20 +0100
|
899
|
+
Served asset /http_log_bootstrap.css - 200 OK (2ms)
|
900
|
+
|
901
|
+
|
902
|
+
Started GET "/assets/http_log.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:20 +0100
|
903
|
+
Served asset /http_log.js - 200 OK (7ms)
|
904
|
+
|
905
|
+
|
906
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:20 +0100
|
907
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
908
|
+
|
909
|
+
|
910
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:20 +0100
|
911
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
912
|
+
|
913
|
+
|
914
|
+
Started GET "/logs/requests/4f61e48c340765fd1500000b" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
|
915
|
+
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('4f61e7f6340765fef6000004'), "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:00:38 UTC, "created_at"=>2012-03-15 13:00:38 UTC}])
|
916
|
+
Processing by HttpLog::RequestsController#show as HTML
|
917
|
+
Parameters: {"id"=>"4f61e48c340765fd1500000b"}
|
918
|
+
HTTP Logger Request ID: 4f61e7f6340765fef6000004
|
919
|
+
MONGODB (4ms) http_log_development['http_log_requests'].find({:_id=>BSON::ObjectId('4f61e48c340765fd1500000b')}).limit(-1).sort([[:_id, :asc]])
|
920
|
+
Rendered /Users/adam/threadedlabs/http_log/app/views/http_log/requests/show.html.erb within layouts/http_log/requests (1.1ms)
|
921
|
+
Compiled http_log.css (0ms) (pid 65270)
|
922
|
+
Completed 200 OK in 20ms (Views: 13.9ms)
|
923
|
+
|
924
|
+
|
925
|
+
Started GET "/assets/http_log.css?body=1" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
|
926
|
+
Served asset /http_log.css - 200 OK (8ms)
|
927
|
+
|
928
|
+
|
929
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
|
930
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
931
|
+
|
932
|
+
|
933
|
+
Started GET "/assets/http_log_bootstrap.css?body=1" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
|
934
|
+
Served asset /http_log_bootstrap.css - 304 Not Modified (0ms)
|
935
|
+
|
936
|
+
|
937
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
|
938
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
939
|
+
|
940
|
+
|
941
|
+
Started GET "/assets/http_log_bootstrap.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
|
942
|
+
Served asset /http_log_bootstrap.js - 304 Not Modified (0ms)
|
943
|
+
|
944
|
+
|
945
|
+
Started GET "/assets/http_log.js?body=1" for 127.0.0.1 at 2012-03-15 14:00:38 +0100
|
946
|
+
Served asset /http_log.js - 304 Not Modified (0ms)
|
data/test/dummy/log/test.log
CHANGED
@@ -682,3 +682,231 @@ MONGODB (0ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f6
|
|
682
682
|
Completed 200 OK in 12ms (Views: 0.6ms)
|
683
683
|
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
684
684
|
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
685
|
+
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.
|
686
|
+
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
|
687
|
+
|
688
|
+
|
689
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
690
|
+
Error compiling asset application.css:
|
691
|
+
Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
|
692
|
+
(in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
|
693
|
+
Served asset /application.css - 500 Internal Server Error
|
694
|
+
|
695
|
+
|
696
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
697
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
698
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
699
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
700
|
+
|
701
|
+
|
702
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
703
|
+
Error compiling asset application.css:
|
704
|
+
Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
|
705
|
+
(in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
|
706
|
+
Served asset /application.css - 500 Internal Server Error
|
707
|
+
|
708
|
+
|
709
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
710
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
711
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
712
|
+
|
713
|
+
|
714
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
715
|
+
Error compiling asset application.css:
|
716
|
+
Sprockets::FileNotFound: couldn't find file 'twitter/bootstrap'
|
717
|
+
(in /Users/adam/threadedlabs/http_log/test/dummy/app/assets/stylesheets/application.css:12)
|
718
|
+
Served asset /application.css - 500 Internal Server Error
|
719
|
+
|
720
|
+
|
721
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
722
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
723
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
724
|
+
|
725
|
+
|
726
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
727
|
+
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('4f61e810340765ff3e000001'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
728
|
+
Processing by EchoController#echo as HTML
|
729
|
+
Parameters: {"echo"=>{"controller"=>"echo", "action"=>"echo"}}
|
730
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000001
|
731
|
+
Completed 200 OK in 0ms
|
732
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
733
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
734
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
735
|
+
|
736
|
+
|
737
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
738
|
+
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('4f61e810340765ff3e000002'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
739
|
+
Processing by EchoController#echo as HTML
|
740
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000002
|
741
|
+
Completed 200 OK in 0ms
|
742
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
743
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
744
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
745
|
+
|
746
|
+
|
747
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
748
|
+
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('4f61e810340765ff3e000003'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
749
|
+
Processing by EchoController#echo as HTML
|
750
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000003
|
751
|
+
Completed 200 OK in 0ms
|
752
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
753
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
754
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
755
|
+
|
756
|
+
|
757
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
758
|
+
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('4f61e810340765ff3e000004'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
759
|
+
Processing by EchoController#echo as JSON
|
760
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000004
|
761
|
+
Completed 200 OK in 0ms
|
762
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
763
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
764
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
765
|
+
|
766
|
+
|
767
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
768
|
+
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('4f61e810340765ff3e000005'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
769
|
+
Processing by EchoController#echo as HTML
|
770
|
+
Parameters: {"foo"=>"bar", "echo"=>{"foo"=>"bar", "controller"=>"echo", "action"=>"echo"}}
|
771
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000005
|
772
|
+
Completed 200 OK in 0ms
|
773
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
774
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
775
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
776
|
+
|
777
|
+
|
778
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
779
|
+
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('4f61e810340765ff3e000006'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
780
|
+
Processing by EchoController#echo as HTML
|
781
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000006
|
782
|
+
Completed 200 OK in 0ms
|
783
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
784
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
785
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
786
|
+
|
787
|
+
|
788
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
789
|
+
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('4f61e810340765ff3e000007'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
790
|
+
Processing by EchoController#echo as HTML
|
791
|
+
Parameters: {"foo"=>"bar"}
|
792
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000007
|
793
|
+
Completed 200 OK in 0ms
|
794
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
795
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
796
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
797
|
+
|
798
|
+
|
799
|
+
Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
800
|
+
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('4f61e810340765ff3e000008'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
801
|
+
Processing by EchoController#echo as HTML
|
802
|
+
Parameters: {"foo"=>"bar"}
|
803
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000008
|
804
|
+
Completed 200 OK in 0ms
|
805
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
806
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
807
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
808
|
+
|
809
|
+
|
810
|
+
Started POST "/?foo=bar" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
811
|
+
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('4f61e810340765ff3e000009'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
812
|
+
Processing by EchoController#echo as HTML
|
813
|
+
Parameters: {"foo"=>"bar"}
|
814
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000009
|
815
|
+
Completed 200 OK in 0ms
|
816
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
817
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
818
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
819
|
+
|
820
|
+
|
821
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
822
|
+
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('4f61e810340765ff3e00000a'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
823
|
+
Processing by EchoController#echo as HTML
|
824
|
+
Parameters: {"foo"=>"bar"}
|
825
|
+
HTTP Logger Request ID: 4f61e810340765ff3e00000a
|
826
|
+
Completed 200 OK in 0ms
|
827
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
828
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
829
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
830
|
+
|
831
|
+
|
832
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
833
|
+
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('4f61e810340765ff3e00000b'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
834
|
+
Processing by EchoController#echo as HTML
|
835
|
+
HTTP Logger Request ID: 4f61e810340765ff3e00000b
|
836
|
+
Completed 200 OK in 0ms
|
837
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
838
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
839
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
840
|
+
|
841
|
+
|
842
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
843
|
+
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('4f61e810340765ff3e00000c'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
844
|
+
Processing by EchoController#echo as HTML
|
845
|
+
HTTP Logger Request ID: 4f61e810340765ff3e00000c
|
846
|
+
Completed 200 OK in 0ms
|
847
|
+
MONGODB (0ms) http_log_test['$cmd'].find({"count"=>"http_log_requests", "query"=>{}, "fields"=>nil}).limit(-1)
|
848
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
849
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
850
|
+
|
851
|
+
|
852
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
853
|
+
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('4f61e810340765ff3e00000d'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
854
|
+
Processing by EchoController#echo as HTML
|
855
|
+
HTTP Logger Request ID: 4f61e810340765ff3e00000d
|
856
|
+
Completed 200 OK in 0ms
|
857
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
858
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
859
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
860
|
+
|
861
|
+
|
862
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
863
|
+
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('4f61e810340765ff3e00000e'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
864
|
+
Processing by EchoController#echo as HTML
|
865
|
+
HTTP Logger Request ID: 4f61e810340765ff3e00000e
|
866
|
+
Completed 200 OK in 0ms
|
867
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
868
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
869
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
870
|
+
|
871
|
+
|
872
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
873
|
+
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('4f61e810340765ff3e00000f'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
874
|
+
Processing by EchoController#echo as HTML
|
875
|
+
HTTP Logger Request ID: 4f61e810340765ff3e00000f
|
876
|
+
Completed 200 OK in 0ms
|
877
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
878
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
879
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
880
|
+
|
881
|
+
|
882
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
883
|
+
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('4f61e810340765ff3e000010'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
884
|
+
Processing by EchoController#echo as HTML
|
885
|
+
Parameters: {"foo"=>"bar"}
|
886
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000010
|
887
|
+
Completed 200 OK in 0ms
|
888
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
889
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
890
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
891
|
+
|
892
|
+
|
893
|
+
Started POST "/" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
894
|
+
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('4f61e810340765ff3e000011'), "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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
895
|
+
Processing by EchoController#echo as HTML
|
896
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000011
|
897
|
+
Completed 200 OK in 0ms
|
898
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({}).limit(-1).sort([[:_id, :asc]])
|
899
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
900
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
901
|
+
MONGODB (0ms) http_log_test['http_log_requests'].insert([{"headers"=>{}, "params"=>{}, "cookies"=>{}, "_id"=>BSON::ObjectId('4f61e810340765ff3e000012'), "updated_at"=>2012-03-15 13:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
902
|
+
|
903
|
+
|
904
|
+
Started GET "/logs/requests/4f61e810340765ff3e000012?format=json" for 127.0.0.1 at 2012-03-15 14:01:04 +0100
|
905
|
+
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('4f61e810340765ff3e000013'), "http_method"=>"GET", "url"=>"http://www.example.com/logs/requests/4f61e810340765ff3e000012?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:01:04 UTC, "created_at"=>2012-03-15 13:01:04 UTC}])
|
906
|
+
Processing by HttpLog::RequestsController#show as JSON
|
907
|
+
Parameters: {"id"=>"4f61e810340765ff3e000012"}
|
908
|
+
HTTP Logger Request ID: 4f61e810340765ff3e000013
|
909
|
+
MONGODB (0ms) http_log_test['http_log_requests'].find({:_id=>BSON::ObjectId('4f61e810340765ff3e000012')}).limit(-1).sort([[:_id, :asc]])
|
910
|
+
Completed 200 OK in 12ms (Views: 0.7ms)
|
911
|
+
MONGODB (0ms) http_log_test['system.namespaces'].find({})
|
912
|
+
MONGODB (0ms) http_log_test['http_log_requests'].remove({})
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
65270
|