Commit 6a8220152491238d926a1b949250e2b051e93017
1 parent
831253d5
Exists in
master
and in
21 other branches
Better typheous instructions [skip ci]
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
README.md
@@ -1129,11 +1129,10 @@ For the best performance, add [Typhoeus](https://github.com/typhoeus/typhoeus) t | @@ -1129,11 +1129,10 @@ For the best performance, add [Typhoeus](https://github.com/typhoeus/typhoeus) t | ||
1129 | gem 'typhoeus' | 1129 | gem 'typhoeus' |
1130 | ``` | 1130 | ``` |
1131 | 1131 | ||
1132 | -And create an initializer with: | 1132 | +And create an initializer to reduce log noise with: |
1133 | 1133 | ||
1134 | ```ruby | 1134 | ```ruby |
1135 | -require "typhoeus/adapters/faraday" | ||
1136 | -Ethon.logger.level = Logger::WARN | 1135 | +Ethon.logger = Logger.new("/dev/null") |
1137 | ``` | 1136 | ``` |
1138 | 1137 | ||
1139 | If you run into issues on Windows, check out [this post](https://www.rastating.com/fixing-issues-in-typhoeus-and-httparty-on-windows/). | 1138 | If you run into issues on Windows, check out [this post](https://www.rastating.com/fixing-issues-in-typhoeus-and-httparty-on-windows/). |