Creating logs to debug API issues

You can use logs to better identify and debug API issues. The logs can provide the following information:

Using the Advanced Logger options explained below, you can determine the specific user and packages for which errors are logged. This makes it easier to debug API issues since each log contains unique information about a specific user, date, and package.

The logs generated by the XML-API Logger are saved in different files from those generated by the Internal diagnostics logger. The XML-API logs are saved in the form of AdvMSTRLog[package][date].log. In the log file name, [date] is replaced by the current date and [package] is replaced by the name of the specific package name for which the log exists.

To create a log to debug API issues

  1. Access the MicroStrategy Web Administrator page. ( How?)

  2. From the pane on the left, select Configuration. The Diagnostics Configuration page opens.

  3. Select Internal diagnostic setup.

  4. In the Advanced Logger Options area, select from the following options to disable or enable the creation of XML-API logs, as well as configure how and what information is logged.

  5. Click Save to apply the changes.