Monitoring CRM.Client Synchronization and Performance

Learn how to monitor CRM.Client synchronization and perfomance.

You can capture the following detailed information for synchronization tasks performed by each user:

  • Synchronization type
  • Time taken for synchronization
  • Total number of synchronizations performed by the user including the average time, max time etc
  • Information per infoarea: Last synchronization date, start and end time, total time, and number of records synchronized.

To capture the log information you have to use the update.Mobile.Services.Performance filter in the settings.xml file for CRM.Web. Specify the path to the log file using the filePath attribute of the <Writer> element. Configure the attributes in the <Channel>, <Writer> and <Formatter> elements as required.

See the example configuration below for details:

<Channel facilityFilter="update.Mobile.Services.Performance"
logLevel="Debug"
logLevelDebug="Debug"
writerName="fileLogWriter4"
formatterName="webLogFormatter4"/>

<Writer filePath="log\performance.log"
name="fileLogWriter4"
maxSizeKB="8192"
closeOnIdleTimeout="5"
type="update.Lib.Logging.Writers.FileLogWriter,update.Lib" />

<Formatter name="webLogFormatter4"
logDate="true"
logTicks="false"
logFacility="false"
logLevelFormat="None"
logException="false"
logMemory="false"
type="update.Lib.Logging.Formatters.WebLogFormatter,update.Lib" />

The following screenshot shows the synchronization log information captured for a user: