MicroStrategy ONE

Using log files

The log file or files contain information about each script that is executed, including results and error messages.

Command Manager can use a single log file for all information logged about each script, or it can split the log file into three parts. If the Split log file option is selected, the results of any LIST instructions are logged to one file, instructions that cause an execution error (failed instructions) are logged to another, and instructions that execute successfully are logged to a third file.

For information about each of the log file options, see Options dialog box.

To enable or disable Command Manager script logging

  1. From the Tools menu, choose Options. The Options dialog box opens.

  2. Select the Logging tab.

  3. Select or clear the Use File Logging check box to enable or disable script logging. If this check box is cleared, no other logging options are available.

  4. Click OK. The Options dialog box closes.

To set the location of Command Manager log files

  1. Enable Command Manager script logging. (See above.)

  2. To log to a single file, select the Use one file for logging option, and select the file to be logged to in the Log output to edit box.

  3. To log results, successful instructions, and failed instructions and errors to different files, select the Split log file option, and select the files to be logged to in the Log(option)to edit boxes.

  4. Click OK. The Options dialog box closes.

To configure the Command Manager logging options

  1. Enable Command Manager script logging. (See above.)

  2. Select or clear the Includefile log header check box to include or exclude information about the version of Command Manager used to execute the scripts.

  3. Select or clear the Include instructions in the log file(s) check box to include or exclude the specific instructions.

  4. Select or clear the Include error codes in the log file(s) to include or exclude error codes in the log files, in addition to the standard error messages.

  5. Click OK. The Options dialog box closes.

Related Topics

Executing a script

Script output

Exporting the results of a script

Options dialog box