Debug EPiServer Search (lucene)

A quick note to self:

To debug EPiServer Search indexing, the below should be added to EPiServerlog.config:

 

<!--EPiServer.Search.IndexingService.IndexingService-->
  <logger name="IndexingService">
    <level value="All" />
  </logger>
  <logger name="EPiServer.Search">
    <level value="All" />
  </logger>

  <!-- Reduce amount of debug logging -->
    <logger name="EPiServer.Core.ContentProvider" additivity="false">
        <level value="Debug" />
    </logger>
    <logger name="EPiServer.Data.Dynamic.Providers.DbDataStoreProvider" additivity="false">
        <level value="Error" />
    </logger>
    <logger name="EPiServer.Data.Providers.SqlDatabaseHandler" additivity="false">
        <level value="Error" />
    </logger>
    <logger name="EPiServer.Data.Providers.ConnectionContext" additivity="false">
        <level value="Error" />
    </logger>