lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Where did the milliseconds go?
Date Fri, 17 Aug 2012 14:58:47 GMT
I personally have found it useful to see time in the Solr log include milliseconds, but it
is no longer included, even in 3.6.1.

Actually, I do see it in the first few log entries, but then the log format changes:

2012-08-17 10:41:35.826:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/solr,file:/C:/cygwin/home/projects/apache-solr-4.0.0-BETA/apache-solr-4.0.0-BETA/example-books/solr-webapp/webapp/},C:\
cygwin\home\projects\apache-solr-4.0.0-BETA\apache-solr-4.0.0-BETA\example-books/webapps/solr.war
Aug 17, 2012 10:41:35 AM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)

I much prefer the initial header format:

2012-08-17 10:41:35.826:INFO:oejsh.ContextHandler:started

To the revised header format:

Aug 17, 2012 10:41:35 AM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO:

Oh, and it looks like every log entry in the new format occupies TWO lines.

Was this a conscious and Solr community-consensus decision, or just an inadvertent side effect
of updating log jars?

Can we get the old format back?

Thanks.

-- Jack Krupansky
Mime
View raw message