[jira] [Commented] (SOLR-9451) Make clusterstatus command logging less verbose

2016-09-16 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-9451:
---

Commit 61955efc504a36ef85e44a1e2e47b9c8bef130bf in lucene-solr's branch 
refs/heads/master from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=61955ef ]

SOLR-9451: Make clusterstatus command logging less verbose


> 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
> Fix For: 6.3, master (7.0)
>
> Attachments: SOLR-9451.patch, 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=true=CLUSTERSTATUS=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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-9451) Make clusterstatus command logging less verbose

2016-09-16 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-9451:
---

Commit e8eadedb85c577ec2aed84d0281d45774f75bdc9 in lucene-solr's branch 
refs/heads/branch_6x from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e8eaded ]

SOLR-9451: Make clusterstatus command logging less verbose


> 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
> Fix For: 6.3, master (7.0)
>
> Attachments: SOLR-9451.patch, 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=true=CLUSTERSTATUS=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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-9451) Make clusterstatus command logging less verbose

2016-09-15 Thread Erick Erickson (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-9451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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=true=CLUSTERSTATUS=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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org