To help you debug output messages, you can select which types of log levels you want to see by adding the log level option. Go to MceConfig.json and add the loglevel option. There are five values you can enter: error, warn, info, verbose, and none. If the log level option is not present in MceConfig.json, the value will be error by default. If you set the log level to error, you see only error messages. If you set it to warn, you see warning and error messages. If you set it to info, you see informational, error, and warning messages. If you set it to verbose, you see all messages, including events that are sent to the server and callback information.

Saving logs

You can save your logs to a file for quick access to help with debugging.

  • Add logfile:true to the MceConfig.json file.
  • Set the UIFileSharingEnabled flag to YES in info.plist. This flag allows the file to be retrieved.
  • Your logs are saved to the iTunes Sync section based on the name of the app.

Go Back to the Mobile App Messaging home page.

Join The Discussion

Your email address will not be published. Required fields are marked *