Skip to content

Instantly share code, notes, and snippets.

@kevinchugh
Created December 11, 2015 16:20
Show Gist options
  • Save kevinchugh/2a0289a818744f4bb838 to your computer and use it in GitHub Desktop.
Save kevinchugh/2a0289a818744f4bb838 to your computer and use it in GitHub Desktop.
I, [2015-12-11T11:19:52.019010 #15595] INFO -- : Started POST "/user_api/submit_flaunt" for 70.50.241.217 at 2015-12-11 11:19:52 -0500
I, [2015-12-11T11:19:52.045754 #15595] INFO -- : Processing by UserApiController#submit_flaunt as JSON
I, [2015-12-11T11:19:52.046097 #15595] INFO -- : Parameters: {"image"=>#<ActionDispatch::Http::UploadedFile:0x007f091941df10 @tempfile=#<Tempfile:/tmp/RackMultipart20151211-15595-xlit56>, @original_filename="user_profile_image.jpg", @content_type="application/octet-stream", @headers="Content-Disposition: form-data; name=\"image\"; filename=\"user_profile_image.jpg\"\r\nContent-Type: application/octet-stream\r\n">, "copyright_agreed_to"=>"true", "content"=>"test", "token"=>"fb9fc8a5e8fb1dcb893fa8b8d12a7d2e", "latitude"=>"55.7558", "offer_id"=>"42", "company"=>"", "longitude"=>"37.6176"}
E, [2015-12-11T11:19:52.397925 #15595] ERROR -- : Entered Begin
I, [2015-12-11T11:19:53.282834 #15595] INFO -- : [AWS S3 200 0.373922 0 retries] create_bucket(:bucket_name=>"flaunt-staging-bucket")
I, [2015-12-11T11:19:53.333138 #15595] INFO -- : [AWS S3 404 0.027223 0 retries] head_object(:bucket_name=>"flaunt-staging-bucket",:key=>"f3b1904dba68bcd06ac5a04276f757a5") AWS::S3::Errors::NoSuchKey No Such Key
I, [2015-12-11T11:19:53.974578 #15595] INFO -- : [AWS S3 200 0.640135 0 retries] put_object(:bucket_name=>"flaunt-staging-bucket",:content_length=>11227366,:data=>#<File:tmp/f3b1904dba68bcd06ac5a04276f757a5 (11227366 bytes)>,:key=>"f3b1904dba68bcd06ac5a04276f757a5")
I, [2015-12-11T11:19:54.001968 #15595] INFO -- : [AWS S3 200 0.025836 0 retries] put_object_acl(:acl=>"public-read",:bucket_name=>"flaunt-staging-bucket",:key=>"f3b1904dba68bcd06ac5a04276f757a5")
I, [2015-12-11T11:19:54.022981 #15595] INFO -- : Completed 200 OK in 1976ms (Views: 0.4ms | ActiveRecord: 10.1ms)
I, [2015-12-11T11:19:54.467030 #15595] INFO -- : Started POST "/user_api/find_or_create_user_with_instagram" for 70.50.241.217 at 2015-12-11 11:19:54 -0500
I, [2015-12-11T11:19:54.471502 #15595] INFO -- : Processing by UserApiController#find_or_create_user_with_instagram as JSON
I, [2015-12-11T11:19:54.471809 #15595] INFO -- : Parameters: {"instagram_username"=>"flauntappyo", "instagram_user_id"=>"2320355507", "instagram_access_token"=>"2320355507.9987d16.472f9444123b4177acb6faea513ac076", "instagram_fullname"=>"", "user_api"=>{"instagram_username"=>"flauntappyo", "instagram_user_id"=>"2320355507", "instagram_access_token"=>"2320355507.9987d16.472f9444123b4177acb6faea513ac076", "instagram_fullname"=>""}}
I, [2015-12-11T11:19:54.637986 #15595] INFO -- : Completed 200 OK in 166ms (Views: 0.8ms | ActiveRecord: 7.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment