Knowledge Base - Cloud Connect

Logging CE

In Experlogix, logging is a mechanism for recording the incoming and outgoing requests between Cloud Connect and the Configurator. It also helps provide insight into information processing in Microsoft Dynamics 365 CE, which is especially useful for design and troubleshooting purposes.

Microsoft Dynamics 365 CE Trace Log Settings

CE-TraceLogInfo Settings1-0.png

Field

Description

Name

Name of the trace log.

Running

Select the checkbox to run the log.

Start Time

Date and time when the log was activated.

Direction

Direction of request (inbound or outbound).

Time to run (hours)

The duration in hours for which the log will continue to run.

Processed Date

Date and time when the particular log was processed.

Number (No.)

Serial number of the log line.

Name

Name of the log line.

Description

Description of the log line.

Failure

If Yes, the log was a failure.

Processable

If Yes, the log can be processed.

Execution Time

The time it takes to execute the log. It is displayed in milliseconds.

Direction

The Direction field indicates the flow of logs. Configurator logs are received in the inbound direction, while logs for copy and revise operations are sent in the outbound direction.

Inbound: Value is True if the request is from Integration API to CE.

Outbound: Value is True if the request is from CE to Integration API.

Procedures

Access the Logging page

  1. On the Microsoft Dynamics 365 CE home page, select the Settings icon in the screen's upper-right corner.

    CE-AdvancedSettings.png
  2. Select Advanced Settings.

  3. Select the Settings dropdown arrow at the upper-left corner to view the Settings options.

    CE-ExperlogixLogging.png
  4. Under the Experlogix column, select Logging.

    CE-ExperlogixLogging2.png
  5. Select a Name to view the trace log.

    CE-TraceLogInfo1.png

Add a new trace log record

  1. On the Trace log page, in the upper-left corner, select + NEW.

    CE-NewTraceLog.png
  2. In the Name field, add the Trace Log name.

    CE-NewTraceLogPage1.png
  3. Select the Running checkbox to run the Trace Log after adding it.

The new Trace Log will not run if an existing Trace Log is active.

  1. In the Time to run (hours) field, add the number of hours.

  2. Select the Save button.

    The Trace Log is saved and displayed on the All Trace Logs page.

Activate a trace log

  1. On the Trace log page, open the Trace Log you want to activate.

    CE-TraceLogInfo.png
  2. At the upper-left corner, select the ACTIVATE button.

The new Trace Log will not run if another Trace Log is active. Deactivate the active log, then activate the other log and select the Running checkbox.

CE-TraceLogActivate.png

The Trace Log is activated.

After a running a log, you can use the CLEAR LOG button to remove existing log lines.

CE-ClearLogLines.png

Review Log

  1. On the Trace log page, select a Name to view the trace log.

    CE-TraceLogInfo.png
  2. Execute the process file.

  3. Select the Running checkbox .

    CE-TraceLogSelectRunning11.png
  4. Select REFRESH.

    CE-TraceLogSelectRunning6.png

The trace log is generated.

CE-TraceLogSelectRunning7.png

Processing log from a file

  1. On the Trace log page, select a Name to view the trace log.

    CE-TraceLogInfo.png

Only one file can be selected at a time.

  1. Execute the process file.

  2. Select Running.

    CE-TraceLogSelectRunning6.png
  3. Select REFRESH.

    The trace log is generated.

  4. Select PROCESS FROM FILE.

    Process from file.png
  5. Upload the file to process.

    Process from file1.png
  6. Select Process.

    The log is processed.

When processing errors occur with the Microsoft Dynamics 365 CE Logger enabled, the system returns the error message in the Configurator/Integration. Due to technical limitations, the error does not appear in the CE Log.

Managing Outbound Logging

Activate outbound logging for HTTP requests and generate logs on quotes to enhance debugging and monitoring in Microsoft Dynamics 365 CE. This approach empowers developers and support teams to efficiently track and resolve issues.

Enable Outbound Logging

  1. On the Microsoft Dynamics 365 CE home page, select the Settings icon in the screen's upper-right corner.

    CE-AdvancedSettings.png
  2. Select Advanced Settings.

  3. Select the Settings dropdown arrow at the upper-left corner to view the Settings options.

    CE-ExperlogixLogging.png
  4. Under the Experlogix column, select Logging.

    CE-ExperlogixLogging2.png
  5. Select a Name to view the trace log.

    CE-TraceLogInfo1.png
  6. Select ACTIVATE.

  7. Under Settings select Apps.

    CE-Apps.png
  8. Select Dynamics 365 - custom.

    CE-Select_Custom.png
  9. Under Collateral, select Quotes.

    CE-Select_Quotes.png
  10. Activate and revise a Quote.

    CE-Revise Quote.png

The outbound logs are generated.