Salesforce

Logging and Debugging Options (Magic xpi 4.14)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Logging and Debugging Options (Magic xpi 4.14)

Logging provides an insight to the user about what is happening in the system. Magic xpi provides different logs to help the users to monitor and troubleshoot the projects and Magic xpi server.

The types of logging and debugging options that Magic xpi provides are:

General Logging

The general logging gives details about the xpi runtime health and status. It gives information about IMM deployment and Magic Monitor. The user can also know about the project life-cycle and project details from the logs. The logs can highlight the error and warnings thrown by each component and the user can take necessary corrective and preventive action based upon those.

The user can view these logs at:

· Magic xpi server logs

· Magic xpi project logs

For more information, refer to Log Files.

Logging details are available for other services like:

· Magic Monitor

· Web server

· Debugger

· Studio

Connector Level Logging

Magic xpi provides granular level logging into each connector. Each connector log goes into a separate log file. Users can configure different levels of logging for each connector in their own log files. There are Java and .Net types of connectors and each one has its own style of logging and different configuration.

· Java based connectors

All Java based connectors have been designed to use the logback (similar to log4j) framework for all its connector logging. The configuration files of each of these connectors are located in the <Magic xpi Installation>\Runtime\Java\classes folder.

For further details, refer to Logging Configuration in Magic xpi.

· .Net connectors

Some legacy connectors may have connector level logging unlike Java connector logs.

For further details, refer to Debugging Flag.

Process Level Debugging

In very rare scenarios, a user might come across a situation where the existing logging mechanism may not be sufficient. An operating system or process level log might only be required in these rare scenarios when the support needs additional information for deep investigation and RCA.

Refer to the How Do I Use Debugging Tools to Debug Magic xpi? page, to know about some of the debugging and memory dump techniques.

Reference
Attachment 
Attachment