[
https://issues.apache.org/jira/browse/SOLR-9451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15493983#comment-15493983
]
Erick Erickson commented on SOLR-9451:
--------------------------------------
+1.
The important thing to see in the logs is when it _fails_, otherwise we an
assume success. I think the success case is so buried in the output that it's
rarely useful. And if there's some confusion about what config was _actually_
loaded, I usually pull it up in the Admin UI anyway, that way I know absolutely
what Solr got rather than what I _think_ I specified....
Perhaps enhance the error message by including the ZK path in the "Specified
config does not exist...." message?
> Make clusterstatus command logging less verbose
> -----------------------------------------------
>
> Key: SOLR-9451
> URL: https://issues.apache.org/jira/browse/SOLR-9451
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Varun Thacker
> Assignee: Varun Thacker
> Priority: Minor
> Attachments: SOLR-9451.patch
>
>
> Today when we run a cluster status call, the logs get filled up with
> ZkStateReader messages like this. If a user has a lot of collections this can
> get quite verbose and likely not useful.
> {code}
> INFO - 2016-08-29 12:10:55.533; [ ]
> org.apache.solr.handler.admin.CollectionsHandler; Invoked Collection Action
> :clusterstatus with params
> json.nl=map&indent=true&action=CLUSTERSTATUS&wt=json and sendToOCPQueue=true
> INFO - 2016-08-29 12:10:55.535; [ ]
> org.apache.solr.common.cloud.ZkStateReader; Load collection config from:
> [/collections/test1]
> INFO - 2016-08-29 12:10:55.535; [ ]
> org.apache.solr.common.cloud.ZkStateReader; path=[/collections/test1]
> [configName]=[test1] specified config exists in ZooKeeper
> INFO - 2016-08-29 12:10:55.536; [ ]
> org.apache.solr.common.cloud.ZkStateReader; Load collection config from:
> [/collections/gettingstarted]
> INFO - 2016-08-29 12:10:55.537; [ ]
> org.apache.solr.common.cloud.ZkStateReader;
> path=[/collections/gettingstarted] [configName]=[gettingstarted] specified
> config exists in ZooKeeper
> ......
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]