SOAP Message Logging in CRM On Demand

The CRM On Demand Connector uses the same mechanism for logging application information via log4j. The location of the configuration file is WEB-INF\classes\configuration\log4j.xml. The default appender is Console with a level of Info. You may set the appender to LogFile to point to a specific file path where you want to save the logfile.

The connector’s logs are uniquely identified by a prefix of CRMOD-OPA-MSG for information messages and CRMOD-OPA-ERR for errors encountered during runtime.

By setting the log level to Debug Mode (see image below), the generated SOAP requests and the SOAP responses are properly logged to help the user diagnose where the problem is while running the connector. Authentication credentials are replaced by a set of hash (#) symbols for security purposes.

 

Example of a log file: