Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
plashchynski committed May 26, 2015
1 parent a4fb52a commit fd4ee5d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ rails_log_autotruncator is a simple (monkey)patch for ActiveSupport::BufferedLog


### Disclaimer
You don't need this gem for ruby 1.9.3 and up. You can add the following code to your environment config file (i.e. config/environments/test.rb):
You don't need this gem for ruby 1.9.3 and up. You can add the following code to your environment config file (i.e. config/environments/test.rb) for Rails 4.*:
```ruby
config.logger = Logger.new(config.paths['log'].first, 1, 5.megabytes)
```

For Rails 3.*:
```ruby
config.logger = Logger.new(config.paths.log.first, 1, 5.megabytes)
```
Expand Down

0 comments on commit fd4ee5d

Please sign in to comment.