http_connection 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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)
|