lib/semantic_logger/appender/http.rb in semantic_logger-3.4.1 vs lib/semantic_logger/appender/http.rb in semantic_logger-4.0.0.beta1

- old
+ new

@@ -197,10 +197,10 @@ response = @http.request(request) if response.code == '200' || response.code == '201' true else # Failures are logged to the global semantic logger failsafe logger (Usually stderr or file) - SemanticLogger::Logger.logger.error("Bad HTTP response from: #{url} code: #{response.code}, #{response.body}") + SemanticLogger::Processor.logger.error("Bad HTTP response from: #{url} code: #{response.code}, #{response.body}") false end end end