Sitecore uses log4net as its logging component. You can change the logging levels for different parts of the Sitecore install.
This is the default log settings found in the Sitecore.ContentSearch.config
file:
<log4net>
<appender name="SearchLogFileAppender" type="log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging">
<file value="$(dataFolder)/logs/Search.log.{date}.txt"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n"/>
</layout>
<encoding value="utf-8"/>
</appender>
<appender name="CrawlingLogFileAppender" type="log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging">
<file value="$(dataFolder)/logs/Crawling.log.{date}.txt"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n"/>
</layout>
<encoding value="utf-8"/>
</appender>
<logger name="Sitecore.Diagnostics.Search" additivity="false">
<level value="INFO"/>
<appender-ref ref="SearchLogFileAppender"/>
</logger>
<logger name="Sitecore.Diagnostics.Crawling" additivity="false">
<level value="INFO"/>
<appender-ref ref="CrawlingLogFileAppender"/>
</logger>
</log4net>
It looks like your logging level for Sitecore.Diagnostics.Search
is set too high. You can change this to WARN' or
ERRORor even
OFF` to reduce the number of entries.
Always make sure this is done via a patch file. For example, this would set the level to WARN
:
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<log4net>
<logger name="Sitecore.Diagnostics.Search" additivity="false">
<level>
<patch:attribute name="value">WARN</patch:attribute>
</level>
</logger>
</log4net>
</sitecore>
</configuration>