Skip to content

Instantly share code, notes, and snippets.

@alecslupu
Created August 2, 2014 16:07
Show Gist options
  • Save alecslupu/107c63559145f05f08c7 to your computer and use it in GitHub Desktop.
Save alecslupu/107c63559145f05f08c7 to your computer and use it in GitHub Desktop.
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.624639 ] [ INFO]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"l91PlwDqzuzVKFNeIBxtM8mQGPC/ZABsQKjECRZ7KZ0=", "file"=>{"label"=>"A", "file"=>#<ActionDispatch::Http::UploadedFile:0x000000082f66d0 @original_filename="a.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"file[file]\"; filename=\"a.jpg\"\r\nContent-Type: image/jpeg\r\n", @tempfile=#<File:/tmp/RackMultipart20140802-3685-12k28en>>, "description"=>""}, "commit"=>"Update File", "site_id"=>"2", "id"=>"11"}
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.625287 ] [DEBUG]: (0.3ms) BEGIN
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.626369 ] [DEBUG]: Cms::Site Load (0.2ms) SELECT `cms_sites`.* FROM `cms_sites` WHERE `cms_sites`.`id` = 2 LIMIT 1
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.627706 ] [DEBUG]: Cms::File Load (0.2ms) SELECT `cms_files`.* FROM `cms_files` WHERE `cms_files`.`site_id` = 2 AND `cms_files`.`id` = 11 LIMIT 1
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.634463 ] [ INFO]: Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/a20140802-3685-ujmk7m.jpg[0]'
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.647462 ] [ INFO]: Command :: identify -format %m '/tmp/a20140802-3685-ujmk7m.jpg[0]'
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.657978 ] [ INFO]: Command :: identify -format %m '/tmp/a20140802-3685-ujmk7m.jpg[0]'
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.668389 ] [ INFO]: Command :: convert '/tmp/a20140802-3685-ujmk7m.jpg[0]' -auto-orient -resize "80x" -crop "80x60+0+10" +repage '/tmp/a20140802-3685-ujmk7m20140802-3685-rbrw6s'
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.747997 ] [ INFO]: Command :: file -b --mime '/tmp/a20140802-3685-ujmk7m20140802-3685-rbrw6s'
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.755710 ] [ INFO]: [paperclip] Saving attachments.
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.755981 ] [ INFO]: [paperclip] deleting /var/www/myapp/admin/releases/20140802100004/system/public/paperclip/cms/files/11/files/original/a.jpg
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.756968 ] [ INFO]: [paperclip] deleting /var/www/myapp/admin/releases/20140802100004/system/public/paperclip/cms/files/11/files/cms_thumb/a.jpg
Aug 2 19:00:18 admin Admin[3685]: [19:00:18.768144 ] [ INFO]: Redirected to http://10.70.0.105:3000/cms-admin/sites/2/files/11/edit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment