[ 
https://issues.apache.org/jira/browse/RANGER-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh updated RANGER-1590:
----------------------------------------
    Fix Version/s: 1.0.0

> Modify code for the error logs in 
> ranger\knox-agent\src\main\java\org\apache\ranger\services\knox\client\KnoxClient.java
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1590
>                 URL: https://issues.apache.org/jira/browse/RANGER-1590
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>    Affects Versions: master
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>             Fix For: 1.0.0
>
>
> modify code for the error logs in 
> ranger\knox-agent\src\main\java\org\apache\ranger\services\knox\client\KnoxClient.java
> chang   from LOG.debug("Knox service look up response JSON string: " + 
> jsonString);    to      LOG.debug("Knox service lookup response JSON string: 
> " + jsonString);
> Reason :keep the log consistent:
> response = webResource.accept(EXPECTED_MIME_TYPE)
>                                                       
> .get(ClientResponse.class);
>                                       LOG.debug("Knox service lookup 
> response: " + response);
>                                       if (response != null) {
>                                               if (response.getStatus() == 
> 200) {
>                                                       String jsonString = 
> response.getEntity(String.class);
>                                                       LOG.debug("Knox service 
> lookup response JSON string: " + jsonString);



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to