From 485a17fbfe6e8c1a323849edcc548172436bc8a8 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 29 Aug 2023 12:57:19 -0400 Subject: [PATCH] remove logging lines --- lib/oxidized/source/http.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/oxidized/source/http.rb b/lib/oxidized/source/http.rb index d7cded957..dd7986fee 100644 --- a/lib/oxidized/source/http.rb +++ b/lib/oxidized/source/http.rb @@ -70,19 +70,14 @@ def pagination(data, node_want) raise Oxidized::OxidizedError, "if using pagination, 'pagination_key_name' setting must be set" unless @cfg.pagination_key_name? next_key = @cfg.pagination_key_name - Oxidized.logger.info "got next key #{next_key}" loop do - Oxidized.logger.info "beggining loop" node_data += string_navigate(data, @cfg.hosts_location) if @cfg.hosts_location? break if data[next_key].nil? new_uri = URI.parse(data[next_key]) if data.has_key?(next_key) - Oxidized.logger.info "new url is #{new_uri}" data = JSON.parse(read_http(new_uri, node_want)) node_data += string_navigate(data, @cfg.hosts_location) if @cfg.hosts_location? - Oxidized.logger.info "end of loop" end - Oxidized.logger.info "break loop" node_data end