http_connection 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/right_http_connection.rb +5 -2
- metadata +1 -1
@@ -134,8 +134,11 @@ them.
|
|
134
134
|
@http = nil
|
135
135
|
@server = nil
|
136
136
|
@logger = get_param(:logger) ||
|
137
|
-
(RAILS_DEFAULT_LOGGER if defined?(RAILS_DEFAULT_LOGGER))
|
138
|
-
|
137
|
+
(RAILS_DEFAULT_LOGGER if defined?(RAILS_DEFAULT_LOGGER))
|
138
|
+
unless @logger
|
139
|
+
@logger = Logger.new(STDOUT)
|
140
|
+
@logger.level = Logger::INFO
|
141
|
+
end
|
139
142
|
end
|
140
143
|
|
141
144
|
def get_param(name)
|