Application Server, Web Server, and EPM System Process Logs

Check these logs for information about application servers, web servers, and Oracle Enterprise Performance Management System processes such as stop and start.

  • Application server logs (Oracle WebLogic Server service, error, and console logs), for information about WebLogic Server installed with EPM System Installer

    Location: MIDDLEWARE_HOME/user_projects/domains/DomainName/servers/ServerName/logs

    (For WebLogic Server installed outside EPM System Installer, see the WebLogic Server documentation for information about logs.)

    • Location: product

    • File name: Product-dependent

  • Web server logs, for information about web servers installed with EPM System Installer:

    (For web servers installed outside EPM System Installer, see vendor documentation for information about logs.)

    • Location: EPM_ORACLE_INSTANCE/httpConfig/ohs/diagnostics/logs/OHS/ohs_component

    • Log files:

      • access_log and access_log.numberWebLogic Server-generated log files for a managed server

      • console~OHS~1.logOracle HTTP Server-generated log file, console output

      • ohs_component.logOracle HTTP Server-generated log file

  • Services startup logs for each managed server (Windows):

    EPM_ORACLE_INSTANCE/diagnostics/logs/services

  • Security log—CSS and Oracle Hyperion Shared Services Registry product activity, including Native Directory initialization and CSS initialization

  • WebLogic Server logs—WebLogic Server activity needed when contacting Oracle Support Services

    • Location: MIDDLEWARE_HOME/user_projects/domains/EPMSystem/servers/managed server name/logs

    • File name: access.log

Unexpected Purging of Older Oracle HTTP Server (OHS) Logs at Startup

Starting with OHS Update 12.2.1.4.240906, included in EPM 11.2.20 Release Update, OHS odl_rotatelogs behavior has changed. A retention time parameter must now be explicitly defined to preserve rotated logs across OHS restarts.

Current Behavior

As configured by the EPM Configurator, no retention value is specified in the CustomLog directives. As a result, all rotated logs are purged during OHS startup.

Default Configuration (Problematic)

CustomLog "||${PRODUCT_HOME}/bin/odl_rotatelogs ${ORACLE_INSTANCE}/servers/${COMPONENT_NAME}/logs/access_log 43200" common
CustomLog "||${PRODUCT_HOME}/bin/odl_rotatelogs ${ORACLE_INSTANCE}/servers/${COMPONENT_NAME}/logs/admin_log 43200" common
  • Logs rotate every 12 hours (43200 seconds)

  • No retention is defined

  • All rotated logs are deleted on next OHS startup

Affected Files:

  • EPM_ORACLE_INSTANCE\httpConfig\ohs\config\fmwconfig\components\OHS\ohs_component\httpd.conf
  • EPM_ORACLE_INSTANCE\httpConfig\ohs\config\fmwconfig\components\OHS\ohs_component\admin.conf

odl_rotatelogs Usage

odl_rotatelogs.exe [-l] [-f] [-u:<utc offset in seconds>] <logfile>
  {<rotation time in seconds> [retention time in seconds] [base rotation start time]
   | <rotation size in megabytes> [max logsize in megabytes]}

Recommended Configuration Options

  1. Disable automatic purging (retain all rotated logs)
    CustomLog "||${PRODUCT_HOME}/bin/odl_rotatelogs ${ORACLE_INSTANCE}/servers/${COMPONENT_NAME}/logs/access_log 43200 0" common
    CustomLog "||${PRODUCT_HOME}/bin/odl_rotatelogs ${ORACLE_INSTANCE}/servers/${COMPONENT_NAME}/logs/admin_log 43200 0" common
    
    • Retention = 0

    • Logs persist indefinitely until manually archived or deleted

  2. Enable time-based retention (For example: 30 days)
CustomLog "||${PRODUCT_HOME}/bin/odl_rotatelogs ${ORACLE_INSTANCE}/servers/${COMPONENT_NAME}/logs/access_log 43200 2592000" common
CustomLog "||${PRODUCT_HOME}/bin/odl_rotatelogs ${ORACLE_INSTANCE}/servers/${COMPONENT_NAME}/logs/admin_log 43200 2592000" common
  • Retention = 2592000 seconds (30 days)

  • Logs older than retention window are purged automatically