Commit f6e09a82 by Jon Yurek

Merge pull request #1209 from deiga/patch-1

Add logging section to Readme
parents f28d75b8 e8777d51
...@@ -532,6 +532,20 @@ class User < ActiveRecord::Base ...@@ -532,6 +532,20 @@ class User < ActiveRecord::Base
end end
``` ```
Logging
----------
By default Paperclip outputs logging according to your logger level. If you want to disable logging (e.g. during testing) add this in to your environment's configuration:
```ruby
Your::Application.configure do
...
Paperclip.options[:log] = false
...
end
```
More information in the [rdocs](http://rdoc.info/github/thoughtbot/paperclip/Paperclip.options)
Deployment Deployment
---------- ----------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment