Understanding Log Analyzer
了解日志分析器
Log Analyzer for Application Engine is an User Interface tool that helps you format the Application Engine log file to easily get log information about:
Log Analyzer for Application Engine是一个用户界面工具,可帮助您格式化应用程序引擎日志文件,以轻松获取有关以下内容的日志信息:
You can launch the Log Analyzer tool by executing runTraceAnalyzer.bat file located at PS_HOME\bin \client\winx86\AELogAnalyzerTool.
您可以通过执行位于PS_HOME\bin\client\winx86\AELogAnalyzerTool的runTraceAnalyzer.bat文件来启动日志分析器工具。
Related Links
Enabling Log Analyzer for Application Engine
相关链接为应用程序引擎启用日志分析器
This image illustrates the Application Engine call structure in Log Analyzer:
此图像说明了日志分析器中的应用程序引擎调用结构:
By using the Log Analyzer for Application Engine, you can display the application engine call structure as a tree structure in a table panel. The table panel displays the following log information:
通过使用Application Engine的Log Analyzer,您可以在表面板中将应用程序引擎调用结构显示为树结构。表面板显示以下日志信息:
Term |
Definition |
AE Step |
The Application Engine Step column displays the Application Engine steps executed in the AE process. |
Term |
Definition |
Action Type |
The Action Type column displays the Application Engine action type performed in the Application Engine step. Application Engine action types can be any one of the following:
|
Time |
The Time column displays the time at which the Application Engine action was executed. |
Duration |
Displays the duration of the action. |
Action |
The action column displays the SQL action that was performed in the Application Engine step. SQL actions can be any one of the following:
|
Table Name |
The Table Name column displays the name of the table in which the action was performed. |
Rows |
The Rows column displays the number of rows that were updated by the action. |
Term |
Definition |
SQL ID |
The SQL ID column displays the performance details of the Application Engine step. The SQL ID column displays a unique identifier of the SQL statement when run on Oracle databases. This is useful for Application Engine SQL performance analysis. Note: SQL ID is specific to Oracle database so this column is only displayed when we are analyzing an AET file generated against an Oracle database. |
Full SQL Text |
The Full SQL Text column displays the full SQL text that was run for the SQL action. |
By using the Log Analyzer feature, you can access the SQL information for any Application Engine step that was executed. See SQL Traces for more information.
通过使用日志分析器功能,可以访问所执行的任何应用程序引擎步骤的SQL信息。有关详细信息,请参阅SQL跟踪。
You can load the .TRC file of the AE program to access the corresponding PeopleCode information associated to the selected node.
您可以加载AE程序的.TRC文件以访问与所选节点相关联的相应PeopleCode信息。
Note: ‘Trace start of programs’ must be enabled to access PeopleCode Information using Log Analyzer for AE.
注意:必须启用“跟踪程序的启动”,才能使用AE的日志分析器访问PeopleCode信息。
Related Links
Understanding Trace Results Setting Options in PeopleSoft Configuration Manager (two-tier mode)
相关链接了解PeopleSoft配置管理器中的跟踪结果设置选项(两层模式)
You can use the Log Analyzer feature to access filtered information about the AE process.
您可以使用日志分析器功能访问有关AE过程的过滤信息。
This example illustrates the fields and controls on the Filter Option in Log Analyzer:
此示例说明了日志分析器中的过滤器选项上的字段和控件:
The AE process information can be filtered by:
Filter by |
Action |
SQL Statement action |
Displays filtered information about the AE process based on the following SQL statement actions:
|
Text |
Displays filtered information about the AE process based on text. |
Duration |
Displays filtered information about the AE process based on duration of the steps. |
Rows updated |
Displays filtered information about the AE process based on the number of rows that were updated in the AE process. |
Temporary table data |
Displays filtered information about the AE process with temporary table data. |
Related Links
相关链接分析应用引擎程序
Enabling Log Analyzer for Application Engine
为应用程序引擎启用日志分析器
By default, the Log Analyzer for application engine feature is turned off. To see logs for an application engine program, you must set trace options before you run the program.
默认情况下,应用程序引擎的日志分析器功能处于关闭状态。若要查看应用程序引擎程序的日志,必须在运行程序之前设置跟踪选项。
This section discusses how to:
本节讨论如何:
Related Links
“Understanding PeopleSoft Configuration Manager” (System and Server Administration) Locating Trace Files
相关链接了解日志分析器"了解PeopleSoft配置管理器"(系统和服务器管理)定位跟踪文件
For processes running on a Microsoft Windows workstation, you can enable Log analyzer for Application Engine by setting trace options using the Trace tab in PeopleSoft Configuration Manager. This procedure is valid only if you are running Application Engine programs on a Microsoft Windows workstation in a development environment.
对于在微软Windows工作站上运行的进程,您可以通过使用PeopleSoft配置管理器中的“跟踪”选项卡设置跟踪选项来启用“应用程序引擎日志分析器”。此过程仅在自开发环境中的Microsoft Windows工作站上运行应用程序引擎程序时有效。
This example illustrates the fields and controls on the Enabling Log Analyzer for Application Engine by setting options in Configuration Manager. You can find definitions for the fields and controls later on this page.
此示例通过在配置管理器中设置选项阐释了启用应用程序引擎日志分析器上的字段和控件。您可以在本页稍后找到字段和控件的定义。
To set options in PeopleSoft Configuration Manager (two-tier mode):
要在PeopleSoft配置管理器中设置选项(两层模式):
启动配置管理器,然后选择跟踪选项卡。
在“人物代码跟踪”下,选择“跟踪程序的开始”。
在“应用程序引擎跟踪”下,选择“步骤和SQL”。
单击“应用”或“确定”按钮以设置跟踪选项。
Related Links
“Understanding PeopleSoft Configuration Manager” (System and Server Administration)
“Starting PeopleSoft Configuration Manager” (System and Server Administration)
Locating Trace Files Step Traces SQL Traces
相关链接“了解PeopleSoft配置管理器”(系统和服务器管理)“启动PeopleSoft配置管理器”(系统和服务器管理)定位跟踪文件步骤跟踪SQL跟踪
To set options in domain configuration files of PeopleSoft Process Scheduler Administration (three-tier mode):
要在PeopleSoft Process Scheduler Administration(三级模式)的域配置文件中设置选项:
转到进程调度程序配置文件。
将TraceSQL设置为3或更高。
将TracePC设置为64或更高。
Related Links
“Editing the PeopleSoft Process Scheduler Configuration File” (Process Scheduler) Locating Trace Files
相关链接编辑PeopleSoft进程调度器配置文件(进程调度程序)定位跟踪文件
To set options to trace a specific Application Engine program:
要设置跟踪特定应用程序引擎程序的选项,请执行以下操作:
选择PeopleTools>进程调度器>进程调度器进程。“流程定义”页面将打开
选择一个现有值或添加一个新值。
选择覆盖选项选项卡。
The below image shows how to fill up the Override Options page to trace a specific Application Engine program:
下图显示如何填充"覆盖选项"页面以跟踪特定的应用程序引擎程序:
在参数列表的参数下,键入-TRACE 7 -TOOLSTRACEPC 3652-TOOLSTRACESQL 131。
单击更新/显示
Related Links
Creating Process Definitions Locating Trace Files
相关链接创建进程定义定位跟踪文件