diff options
author | Pete Higgins <pete@peterhiggins.org> | 2012-02-05 23:54:41 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2012-02-05 23:54:41 -0800 |
commit | 2275cde2acfff33fd52b852e08e85bcd99f0850f (patch) | |
tree | e288669d24056706f89b859166a85d148e827259 /config | |
parent | 1af631b501bbd8457d114805f729e8af59edeeee (diff) | |
download | refinerycms-blog-2275cde2acfff33fd52b852e08e85bcd99f0850f.tar.gz refinerycms-blog-2275cde2acfff33fd52b852e08e85bcd99f0850f.tar.bz2 refinerycms-blog-2275cde2acfff33fd52b852e08e85bcd99f0850f.zip |
Stop logging to stdout.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/url_validator.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/initializers/url_validator.rb b/config/initializers/url_validator.rb index 15635e0..d956d04 100644 --- a/config/initializers/url_validator.rb +++ b/config/initializers/url_validator.rb @@ -47,11 +47,10 @@ class RedirectFollower def initialize(url, limit=5) @url, @redirect_limit = url, limit - logger.level = Logger::INFO end def logger - @logger ||= Logger.new(STDOUT) + @logger ||= Rails.logger end def resolve @@ -82,4 +81,4 @@ class RedirectFollower response['location'] end end -end
\ No newline at end of file +end |