lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: Where did the milliseconds go?
Date Fri, 17 Aug 2012 15:13:41 GMT
It depends on how you configure the log format in your servlet container.
Solr no longer enforces one, just add the correct logging jar.


Please don't start the flamewar again. It's easy and more universal, now.
What you see is just the default logging.



Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen <> 



From: Jack Krupansky [] 
Sent: Friday, August 17, 2012 4:59 PM
To: Lucene/Solr Dev
Subject: Where did the milliseconds go?


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


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


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

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



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?



-- Jack Krupansky

View raw message