Product DocsMenu

Logging Usage Analytics Module Errors

If you need to collect Usage Analytics module errors, you can create a log of these errors by adding a parameter to the Web.config file on each Coveo Front-End server.

To log Usage Analytics module errors

  1. On the Coveo Front-End server, using a text editor, open the [.Net_Front-End_Path]\Web\Web.config file.

    Note: It is recommended to make a backup of the web.config file before editing it.

  2. In the file, after the <coveoEnterpriseSearch> tag, locate the following line: 

    <analytics enabled="true" connectionString="Data Source=yourServerName;Initial Catalog=CoveoAnalytics;Integrated Security=SSPI;"/>
  3. Add the logFolder="[log_folder_path]" parameter to the line, changing [log_folder_path] to the desired path.

    Example:
    <analytics enabled="true" connectionString="Data Source=yourServerName;Initial Catalog=CoveoAnalytics;Integrated Security=SSPI;" logFolder="C:\AnalyticsLogFolder"/>
  4. Save the Web.config file.

  5. When your Coveo server topology includes more than one Front-End server, repeat this procedure for each Front-End server.

People who viewed this topic also viewed