I agree, but I think startup is a bit special. What I would like to see is a way to ask for info/debug for startup, and then revert to WARN for normal operation.

-- Jack Krupansky

-----Original Message----- From: Jan Høydahl
Sent: Tuesday, March 19, 2013 7:43 PM
To: [email protected]
Subject: Log level cleanup

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: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to