Skip to content

Instantly share code, notes, and snippets.

@alexbevi
Created March 24, 2014 17:21
Show Gist options
  • Save alexbevi/9744868 to your computer and use it in GitHub Desktop.
Save alexbevi/9744868 to your computer and use it in GitHub Desktop.
Rails log with a long-running mongoid request that was killed with CTRL+C
Started GET "/users/5323168a616c65771a030000/edit" for 127.0.0.1 at 2014-03-24 13:01:53 -0400
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5323168a616c65771a030000"}
MOPED: 1.1.1.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 36.5997ms
MOPED: 1.1.1.1:27017 QUERY database=phoenix collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('53207289616c652137000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 38.2057ms
MOPED: 1.1.1.1:27017 COMMAND database=phoenix command={:count=>"roles", :query=>{"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('53207289616c652137010000'), BSON::ObjectId('53207293616c652137020000')]}}], "$or"=>[{"name"=>"super_user", "resource_type"=>nil, "resource_id"=>nil}]}} runtime: 28.6933ms
MOPED: 1.1.1.1:27017 QUERY database=phoenix collection=users selector={"_id"=>BSON::ObjectId('5323168a616c65771a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 24.3522ms
MOPED: 1.1.1.1:27017 QUERY database=phoenix collection=roles selector={"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('53207289616c652137010000'), BSON::ObjectId('532319ed616c657b94000000'), BSON::ObjectId('532319ed616c657b94010000')]}}]} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 22.9021ms
MOPED: 1.1.1.1:27017 COMMAND database=phoenix command={:count=>"roles", :query=>{"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('53207289616c652137010000'), BSON::ObjectId('532319ed616c657b94000000'), BSON::ObjectId('532319ed616c657b94010000')]}}]}} runtime: 23.2314ms
MOPED: 1.1.1.1:27017 QUERY database=phoenix collection=oauth_applications selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 22.6102ms
Rendered users/_applications.html.haml (33.8ms)
Rendered users/_form.html.haml (172.5ms)
Rendered users/edit.html.haml within layouts/application (193.5ms)
MOPED: 1.1.1.1:27017 COMMAND database=phoenix command={:count=>"roles", :query=>{"$and"=>[{"_id"=>{"$in"=>[BSON::ObjectId('53207289616c652137010000'), BSON::ObjectId('53207293616c652137020000')]}}], "$or"=>[{"name"=>"super_user", "resource_type"=>nil, "resource_id"=>nil}]}} runtime: 24.4529ms
Rendered common/_top_menu.html.haml (27.4ms)
Completed 200 OK in 422ms (Views: 268.4ms)
Started GET "/users/5323168a616c65771a030000/edit" for 127.0.0.1 at 2014-03-24 13:14:21 -0400
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5323168a616c65771a030000"}
^CExiting
MOPED: 1.1.1.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 14699.5784ms
Completed 401 Unauthorized in 14819ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment