Trace Log Porlet
To access the Trace Log portlet, click the Monitor tab, and then click the Trace Log portlet tab. The Trace Log portlet displays the end of the application log.
Note: The Lines to Display slider field on the Trace Configuration portlet (Configure portlet tab) lets you set the number of lines that are displayed in the Trace Log portlet. For example, if the number is 240, you can view the last 240 lines of the log. For more information, see
How You Can Log Trace Information.
You can select the types of information you want logged by selecting the options on the Trace Configuration portlet (Configure portlet tab). For more information, see
How You Can Log Trace Information.
How You Can Use the Trace Log Portlet
When the Trace Log portlet on the Debug tab is selected, the Run menu provides the following options:
Write Log to File
Writes the current log to a file that you specify. If Lines to Display is n, this command writes at most n lines.
Redirect Output to File
Writes all log data to a file that you specify. Log data is written to the file until you redirect the log output to a different file or you select a different application on the Develop tab.
Clear Log
Clears the data displayed in the Log for Application window. If you have redirected output to a file, this operation does not affect the contents of the file.
Add Message to Log
Inserts a text string into the log at the cursor position
How You Can Control Query Tracing and Execution
When the Trace Log portlet on the Debug tab is selected, the Run, Trace Log menu lets you control query tracing and query execution plan tracing.
The following options are available on the Run, Trace Log menu:
PrintQry on 'Go'
Issues a set printqry statement when you start the application
QEP on 'Go'
Issues a set qep statement when you start the application
No PrintQry
Issues a set noprintqry statement while the application is running
No QEP
Issues a set noqep statement while the application is running