mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
this documentation is inaccurate; the logger is completely unused. remove.
This commit is contained in:
parent
adf81985ee
commit
83c2a495df
1 changed files with 0 additions and 11 deletions
|
@ -369,17 +369,6 @@ to one of the values specified in the url whitelist like so:
|
|||
DatabaseCleaner.url_whitelist = ['postgres://postgres@localhost', 'postgres://foo@bar']
|
||||
```
|
||||
|
||||
## Debugging
|
||||
|
||||
In rare cases DatabaseCleaner will encounter errors that it will log. By default it uses STDOUT set to the ERROR level but you can configure this to use whatever Logger you desire.
|
||||
|
||||
Here's an example of using the `Rails.logger` in `env.rb`:
|
||||
|
||||
```ruby
|
||||
DatabaseCleaner.logger = Rails.logger
|
||||
```
|
||||
|
||||
|
||||
## COPYRIGHT
|
||||
|
||||
See [LICENSE] for details.
|
||||
|
|
Loading…
Reference in a new issue