Default value of Analytics.LogLevel setting may lead to performance issue


Description

The default value of the Analytics.LogLevel setting might increase the size of the interaction record. The issue can result in increased resource consumption for the xConnect instance when loading the interactions of a contact.

By default, the Analytics.LogLevel setting is determined in the Sitecore.Analytics.Tracking.config file as follows:

<!--  ANALYTICS LOG LEVEL
Determines which level of log errors are also logged in Analytics.
Possible values are: None, Debug, Information, Warning, Error, and Fatal.
Default: Error
-->
<setting name="Analytics.LogLevel" value="Error" />

Solution

To resolve the issue, disable the Analytics.LogLevel setting on the Content Delivery (CD) instance by creating a configuration patch file in the \App_Config\Include\zzz folder:

  <setting name="Analytics.LogLevel" value="None" patch:source="Sitecore.Analytics.Tracking.config" />