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
-
From the Tools menu, choose Options. The Options dialog box opens.
-
Select the Logging tab.
-
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.
-
Click OK. The Options dialog box closes.
To set the location of Command Manager log files
-
Enable Command Manager script logging. (See above.)
-
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.
-
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.
-
Click OK. The Options dialog box closes.
To configure the Command Manager logging options
-
Enable Command Manager script logging. (See above.)
-
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.
-
Select or clear the Include instructions in the log file(s) check box to include or exclude the specific instructions.
-
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.
-
Click OK. The Options dialog box closes.
Related Topics
Exporting the results of a script