10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

How You Can Log Trace InformationTrace Log PorletTo access the Trace Log portlet, click the Monitor tab, and then click the TraceLog 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 inthe Trace Log portlet. For example, if the number is 240, you can view thelast 240 lines of the log. For more information, see How You Can Log TraceInformation (see page 456).How You Can Use the Trace Log PortletYou can select the types of information you want logged by selecting theoptions on the Trace Configuration portlet (Configure portlet tab). For moreinformation, see How You Can Log Trace Information (see page 456).When the Trace Log portlet on the Debug tab is selected, the Run menuprovides the following options:Write Log to FileWrites the current log to a file that you specify. If Lines to Display is n, thiscommand writes at most n lines.Redirect Output to FileWrites all log data to a file that you specify. Log data is written to the fileuntil you redirect the log output to a different file or you select a differentapplication on the Develop tab.Clear LogClears the data displayed in the Log for Application window. If you haveredirected output to a file, this operation does not affect the contents ofthe file.Add Message to LogInserts a text string into the log at the cursor positionHow You Can Control Query Tracing and ExecutionWhen the Trace Log portlet on the Debug tab is selected, the Run, Trace Logmenu 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 applicationQEP on 'Go'Issues a set qep statement when you start the application458 <strong>Programming</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!