On 3/25/2016 8:26 AM, tedsolr wrote:
> My solr logs are an hour behind. I have set this property to log in local
> time
> SOLR_TIMEZONE="EST"
> but cannot find a property that will "turn on" daylight savings. If there
> isn't a solr property, maybe there's an apache log4j setting?

Solr's main log is written by log4j.  With our current log4j version and
configuration method, we cannot use environment variables in the log4j
config, so no generalized solution is possible.  Upgrading log4j is on
the todo list, but that requires some work to accomplish, and we're all
volunteers.

You can fix this for your own install by adding the timezone after the
date specification in server/resources/log4j.properties.

http://stackoverflow.com/questions/26857827/configure-dstdaylight-savings-time-in-log4j

Thanks,
Shawn

Reply via email to