Commit d9411932 by Timo Sand

Add logging section to Readme

parent f28d75b8
...@@ -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 (f.ex. in test environment) add this in to your environments configuration:
```ruby
App.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