Skip to main content
Planview Customer Success Center

How to configure logging in the Integration Framework

You configure logging in the configuration files (.exe.config) of the communication dispatcher and the data mapper service.

You first define the logging option in the <listeners> section of the file:

  • Error Rolling Flat File Trace Listener: Logs to the error.log file
  • Rolling Flat File Trace Listener: Logs to the rolling.log file
  • Email Trace Listener: Sends messages via mail. For this to work, you must also specify the smtpServer and the from/toAddress in the same section.

Then you specify which listener to use for each category of message issued by the service in the categorySources section.

The following example indicates that critical errors are to be logged to the error.log file.

<add switchValue="All" name="Critical">
        <listeners>
          <add name="Error Rolling Flat File Trace Listener" />
        </listeners>
</add>

If you change it as follows, then critical errors are sent by email.

<add switchValue="All" name="Critical">
        <listeners>
            <add name="Email Trace Listener" />
        </listeners>
</add>