[ 
https://issues.apache.org/jira/browse/SOLR-7637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601991#comment-14601991
 ] 

Hrishikesh Gadre commented on SOLR-7637:
----------------------------------------

It looks like Java Throwable::printStackTrace() method also uses System.err. So 
I think it is appropriate (at least not incorrect) to use it for error 
reporting.

http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7u40-b43/java/lang/Throwable.java#Throwable.printStackTrace%28%29

> Improve error logging in the zkcli CLUSTERPROP command
> ------------------------------------------------------
>
>                 Key: SOLR-7637
>                 URL: https://issues.apache.org/jira/browse/SOLR-7637
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hrishikesh Gadre
>            Assignee: Gregory Chanan
>            Priority: Trivial
>         Attachments: SOLR-7637.patch
>
>
> SOLR-7176 introduced capability to update Solr cluster properties via ZK CLI. 
> The error logging implemented as part of that fix was not proper (i.e. the 
> actual error was getting masked). We should improve the error logging to 
> explicitly state the root cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to