diff --git a/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteMetricSearchServlet.java b/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteMetricSearchServlet.java index 466dd9ed..23a77bb0 100644 --- a/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteMetricSearchServlet.java +++ b/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteMetricSearchServlet.java @@ -130,7 +130,7 @@ else if ( protobuf ) res.getWriter().close(); } else if (protobuf) { - LOG.info( "carbonapi request: formatting response" ); + //LOG.info( "carbonapi request: formatting response" ); OutputStream output = res.getOutputStream(); List metricList = new ArrayList(); @@ -143,10 +143,10 @@ else if (protobuf) { MetricsResponse.MetricList response = MetricsResponse.MetricList.newBuilder().setName("FindResponse").addAllMetrics(metricList).build(); - LOG.info( "carbonapi request: done formatting response " + response); + //LOG.info( "carbonapi request: done formatting response " + response); try { - LOG.info( "carbonapi request: writing response" ); + //LOG.info( "carbonapi request: writing response" ); response.writeTo( output ); } catch ( Exception e ) diff --git a/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteSeriesDataServlet.java b/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteSeriesDataServlet.java index 9272ef98..5a2a8498 100644 --- a/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteSeriesDataServlet.java +++ b/carbonj.service/src/main/java/com/demandware/carbonj/service/engine/GraphiteSeriesDataServlet.java @@ -100,10 +100,10 @@ protected void doGet( HttpServletRequest req, HttpServletResponse res ) } else if ( protobuf ) { - LOG.info( "carbonapi request: found protobuf request" ); + //LOG.info( "carbonapi request: found protobuf request" ); res.setContentType( "application/protobuf" ); // target = req.getParameter( "query" ); - LOG.info( "carbonapi request: target from param: " + target + " --- blacklist: " + queryBlacklist ); + //LOG.info( "carbonapi request: target from param: " + target + " --- blacklist: " + queryBlacklist ); } else { @@ -152,22 +152,22 @@ else if ( protobuf ) } else if ( protobuf ) { - LOG.info( "carbonapi request: processing request" ); + //LOG.info( "carbonapi request: processing request" ); List seriesList = store.fetchSeriesData( new Query( target, Integer.parseInt( from ), Integer.parseInt( until ), now, System.currentTimeMillis() ) ); - LOG.info( "carbonapi request: formatting response" ); + //LOG.info( "carbonapi request: formatting response" ); OutputStream output = res.getOutputStream(); List metricsSeriesList = new ArrayList(); - LOG.info( "carbonapi request: setting values..." ); + //LOG.info( "carbonapi request: setting values..." ); for ( Series series : seriesList ) { MetricsResponse.Series.Builder metricsSeriesBuilder = MetricsResponse.Series.newBuilder() .setName( series.name ).setStart( (int) series.start ).setEnd( (int) series.end ).setStep( (int) series.step ); for ( Double value : series.values ) { - LOG.info( String.format( "carbonapi request: found value [%s]", + //LOG.info( String.format( "carbonapi request: found value [%s]", ( value == null ? "null" : (double) value ) ) ); if ( value != null ) { @@ -184,11 +184,11 @@ else if ( protobuf ) MetricsResponse.SeriesList response = MetricsResponse.SeriesList.newBuilder().addAllSeriesList( metricsSeriesList ).build(); - LOG.info( "carbonapi request: done formatting response " + response ); + //LOG.info( "carbonapi request: done formatting response " + response ); try { - LOG.info( "carbonapi request: writing response" ); + //LOG.info( "carbonapi request: writing response" ); response.writeTo( output ); } catch ( Exception e )