lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Log level cleanup
Date Tue, 19 Mar 2013 23:43:06 GMT
Hi,

I think Solr is too verbose on default INFO logging.
Time to do a major cleanup and move a bunch of INFO --> DEBUG and probably ERROR-->WARN,
WARN-->INFO too...

What we need on INFO is mostly major things, like
* Solr/Lucene version, JRE version
* Echo startup params and java opts
* SOLR_HOME location
* Core x (re)loaded with X documents
* Whether in ZK mode or local mode, name of zkHosts
* plus some more


There's a whole lot of stuff printed on INFO which could go to DEBUG if you need it:

Mar 20, 2013 12:25:37 AM org.apache.solr.common.cloud.SolrZkClient makePath
INFO: makePath: /configs/lab/addresssynonyms.txt
Mar 20, 2013 12:25:37 AM org.apache.solr.common.cloud.SolrZkClient makePath
INFO: makePath: /configs/lab/admin-extra.html
Mar 20, 2013 12:25:37 AM org.apache.solr.common.cloud.SolrZkClient makePath
INFO: makePath: /configs/lab/admin-extra.menu-bottom.html
Mar 20, 2013 12:25:37 AM org.apache.solr.common.cloud.SolrZkClient makePath
INFO: makePath: /configs/lab/admin-extra.menu-top.html
...
...
Mar 20, 2013 12:25:30 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting socketTimeout to: 0
Mar 20, 2013 12:25:30 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting urlScheme to: http://
Mar 20, 2013 12:25:30 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting connTimeout to: 0
Mar 20, 2013 12:25:30 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting maxConnectionsPerHost to: 20
Mar 20, 2013 12:25:30 AM org.apache.solr.handler.component.HttpShardHandlerFactory getParameter
INFO: Setting corePoolSize to: 0
...
...
Mar 20, 2013 12:25:30 AM org.apache.zookeeper.Environment logEnv
INFO: Server environment:java.io.tmpdir=/var/folders/sg/zdchfvbs7k5c4hcg374z45_40000gp/T/
Mar 20, 2013 12:25:30 AM org.apache.zookeeper.Environment logEnv
INFO: Server environment:java.compiler=<NA>
Mar 20, 2013 12:25:30 AM org.apache.zookeeper.Environment logEnv
INFO: Server environment:os.name=Mac OS X
Mar 20, 2013 12:25:30 AM org.apache.zookeeper.Environment logEnv
INFO: Server environment:os.arch=x86_64
...


--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message