Installation Guide for Oracle Self-Service E-Billing > Installing Oracle Self-Service E-Billing >

Configuring Log File Paths for Log4j


By default, Oracle Self-Service E-Billing writes log files to the following directories on the application server:

  • Oracle WebLogic: $WL_HOME/user_projects/domains/domain_name
  • IBM WebSphere: $WS_HOME/profiles/profile_name

It is recommended that you specify the log output paths to the $EDX_HOME/logs directory, where EDX_HOME is the directory where you installed Oracle Self-Service E-Billing, as follows:

  • UNIX. /opt/Oracle/eBilling/logs
  • Windows. D:\Oracle\eBilling\logs

Oracle Self-Service E-Billing consists of three applications, each of which generates appender (-log) files. To change log output paths, you update the XML log configuration files associated with each application.

This task is a step in Roadmap for Installing Oracle Self-Service E-Billing.

To change the output path of log files

  • In each configuration file, located in EDX_HOME/config (where EDX_HOME is the directory where you installed Oracle Self-Service E-Billing), edit the output path name in the File parameter for each of the appender log files.
    Oracle Self-Service E-Billing Application
    Log4j Configuration File
    Log Files

    Billing and Payment

    log4j.xml

    • ebilling-log
    • apache-log
    • root-log
    • reporting-log
    • hierarchy-log
    • umf-log

    Command Center

    log4j_cc.xml

    • FILE_ESTATEMENT
    • FILE_SCHEDULER
    • FILE_Thirdparty

    Customer Service Representative

    log4j_csr.xml

    • cba-log
    • csr-log
    • root-log
    • reporting-log
    • hierarchy-log
    • umf-log

    For example, the log4j.xml configuration file specifies the default output path for the eBilling-log file as eBilling.log (under the application server's domain_name or profile_name directory):

    <appender name="ebilling-log" class="org.apache.log4j.RollingFileAppender">

    <param name="File" value="eBilling.log"/>

    ...

    </ appender>

    To change the output path for the eBilling-log file, set the File value to /opt/Oracle/eBilling/logs/eBilling.log, as shown:

    <appender name="ebilling-log" class="org.apache.log4j.RollingFileAppender">

    <param name="File" value="/opt/Oracle/eBilling/logs/eBilling.log"/>

    ...

    </ appender>

Installation Guide for Oracle Self-Service E-Billing Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices.