By default, the Riva server produces two main types of logs:
Riva generates different log prefixes for each type of system log:
The log file rollover mechanism is dynamic and based on dates and file size.
Here is the breakdown of the log file name format:
The following screen shot displays a comprehensive example of the log file name rollover in action:
To download a sample log file, select this link: crmex-log (2011-12-5)-8.txt.
Riva leverages the Apache log4net framework to capture and record information. There are several different logging levels:
NONE, ERROR, and WARN logging levels do not provide sufficient logging to confirm data sync status and capture information necessary to troubleshoot and resolve issues.
To modify the logging level of system logs:
To return logging levels to normal levels:
Riva rolls over to a new log file when the file has reached 10 MB.
By default, Riva retains a minimum of 100 MB of historical log files.
To modify the minimum:
By default, Riva retains log files as is for four weeks before zipping them.
To modify the length of time to retain system logs files as is:
Moving system logs from the default application folder to another volume is often recommended.
To move all the system logs to another, common location:
To move specific log files:
The log prefix indicates the system where the sync originates from.
The CRM activity logs were previously named CRM integration logs.
They are equivalent to the entries seen in the Riva Service Monitor. These are stored and grouped on a per-user basis. These files are available for Tier 1 and Tier 2 troubleshooting.
The historic per-user activity is tracked in these files. It is often helpful to expose these files via either a Windows share or an IIS website directory to allow support staff to access the logs to help troubleshoot non-server related issues.
There is an appSetting to disable the saving of Monitor Activity log files for users. This is not recommended, because it greatly reduces the ability to troubleshoot data sync issues.
To disable the saving of Monitor Activity log files for users:
To change the per-user log retention period, adjust the setting below. The default period is 14 days, after which Riva removes the logs.
Dynamics CRM: http://msdn.microsoft.com/en-us/library/gg328182.aspx.