You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by GitBox <gi...@apache.org> on 2019/02/12 17:34:29 UTC

[GitHub] mmiklavc commented on a change in pull request #1331: METRON-1993: Stellar REST_GET should handle responses when content length is less than zero

mmiklavc commented on a change in pull request #1331: METRON-1993: Stellar REST_GET should handle responses when content length is less than zero
URL: https://github.com/apache/metron/pull/1331#discussion_r256065405
 
 

 ##########
 File path: metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/dsl/functions/RestFunctions.java
 ##########
 @@ -244,15 +244,13 @@ protected Object doGet(RestConfig restConfig, HttpGet httpGet, HttpClientContext
         scheduledFuture.cancel(true);
       }
       int statusCode = response.getStatusLine().getStatusCode();
+      LOG.error("request = {}; response = {}", httpGet, response);
 
 Review comment:
   Is this meant to be set to error log level? Wouldn't debug be more appropriate?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services