Home > CRM, CRM 2011, Plug-Ins > Configure Tracing and view trace log files in CRM

Configure Tracing and view trace log files in CRM

Tracing is important in CRM especially when your plugin throw exceptions in Test or Production environments

We can configure and view the trace log file easily using “Crm Trace Log Viewer” tool and it work for both CRM 4.0 and 2011

Download

Once you download the tool

Configure Tracing

  • Double click on the “Crm Trace Log Viewer” Application
Crm Trace Log Viewer Application

Crm Trace Log Viewer Application

  • Configure Tracing by go to Tools –> Configure Tracing
Configure Tracing

Configure Tracing

  • Provide your CRM server machine IP or Name and click “Ok”
CRM server IP or Machine Name

CRM server IP or Machine Name

  • Provide the details as given below
    • Directory – Path where you want your log files to generate
    • Level & Schedule
Configuring Trace

Configuring Trace

View Trace Log Files

  • Once you run the CRM application log files get generate in the path which we provided
Trace Log File

Trace Log File

  • To view the logs, Go to File –> Open Log
Open the trace log

Open the trace log

  • Once you open the file, you can view the details in “Details” pane
Exception Details

Exception Details

Note – Don’t forget to disable the tracing after you are done with debugging.

  • To disable tracing, open the tool and uncheck the option “Trace Enabled” (Refer image #4)

Outlook Client Tracing

  • Using CRM 2011 “Diagnostics Tool”, we can enable/disable tracing in outlook client
  • Here is the link

🙂

Advertisement
  1. Furqan
    August 16, 2012 at 7:24 PM

    Hi, Will it work for CRM 2011, I mean have you tested it ?

  2. August 16, 2012 at 7:46 PM

    Yes Furqan…It works

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: