Hibernate Search Enable Logging

26-11-2015

First of all, we should set log4j.logger.org.hibernate=TRACE property in log4j.properties file, then enable Apache Lucene indexwriter.infostream property as follows:

  <prop key="hibernate.search.default.indexwriter.infostream">true</prop>

Note that we shouldn't use this property in runtime because of performance degredation.

© 2019 All rights reserved. Codesenior.COM