listLogstarget=opmn:instance1ohs1 displayLogstail=100

Diagnosing and Tuning Oracle Reports 24-23 Max Log File Size:104857600 Max Log Dir Size:0

24.3.6.2 setAuditPolicy

This online command configures the audit policy settings. You can set the filter preset, add or remove users, and add or remove custom events. The component mbean name is required for system components like Oracle Internet Directory and Oracle Virtual Directory. The syntax of the setAuditPolicy command is as follows: setAuditPolicy[mbeanName],[filterPreset],[addSpecialUsers], [removeSpecialUsers],[addCustomEvents],[removeCustomEvents] Example The following command sets audit policies to All level.: wls:domain52domainRuntime setAuditPolicyfilterPreset=All; Already in Domain Runtime Tree Audit Policy Information updated successfully

24.3.6.3 listAuditEvents

This online command displays the attributes and audit events of a component. For system components, pass the component mbean name as a parameter. Java EE applications and services like Oracle Platform Security Services OPSS do not need the MBean parameter. Without a component type, all generic attributes applicable to all components are displayed. The syntax of the listAuditEvents command is as follows: listAuditEvents[mbeanName],[componentType] Note: You can obtain a system component’s MBean name using the getNonJava EEAuditMBeanName command. Argument Definition mbeanName Specifies the name of the component audit MBean for system components. filterPreset Specifies the filter preset to be changed. addSpecialUsers Specifies the special users to be added. removeSpecialUsers Specifies the special users to be removed. addCustomEvents Specifies the custom events to be added. removeCustomEvents Specifies the custom events to be removed. Note: You can obtain a system component’s MBean name using the getNonJava EEAuditMBeanName command. Argument Definition mbeanName Specifies the name of the component MBean. 24-24 Publishing Reports to the Web with Oracle Reports Services Example The following command displays all audit events: wls:domain52domainRuntime listAuditEvents; Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root. For more help, use helpdomainRuntime Components: DIP JPS OIF OWSM-AGENT OWSM-PM-EJB ReportsServer WS-PolicyAttachment WebCache WebServices Attributes applicable to all components: ComponentType InstanceId HostId HostNwaddr ModuleId ProcessId OracleHome HomeInstance ECID RID ...

24.3.7 Tracing Report Execution

Enabling report tracing generates a text file that describes the series of steps completed during the execution of the report. The trace file provides abundant information, which is useful not only for performance tuning but also for debugging reports and identifying performance bottlenecks. ■ For Reports Builder rwbuilder and Reports Runtime rwrun, specify tracing options in the logging.xml file. For example: In ORACLE_ INSTANCEdiagnosticslogsReportsToolsComponentReportsTools logging.xml, specify the trace level to Trace 32. ■ For Reports Server rwserver, specify tracing options in the logging.xml file. Separate trace files are generated for Reports Server and the engines. For example: – In ORACLE_ INSTANCEconfigReportsServerComponentservernameloggin g.xml, specify tracing level to Trace 32. componentType Specifies the component type. Argument Definition