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 directory:
- UNIX.
WL_HOME/user_projects/domains/domain_name
- Windows.
WL_HOME\user_projects\domains\domain_name
It is recommended that you specify the log output paths to the following directory:
- UNIX.
/opt/Oracle/eBilling/logs
- Windows.
D:\Oracle\eBilling\logs
Oracle Self-Service E-Billing applications generate log files for the different functionality in each application. To change log output paths, update the XML log configuration files associated with each application. This task is a step in Roadmap for Installing Oracle Self-Service E-Billing 6.2. To change the output path of log files
- Edit the output path name in the File parameter for each log4j configuration files, located in the following directory:
- UNIX.
EDX_HOME /config
- Windows.
EDX_HOME \config
The log4j configuration files are listed in the following table.
Oracle Self-Service E-Billing Application |
|
|
Billing and Payment |
log4j.xml |
- eBilling-log
- apache-log
- root-log
- reporting-log
- hierarchy-log
- umf-log
|
Command Center |
log4j_cc.xml |
|
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 in the following example:
<appender name="ebilling-log" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="/opt/Oracle/eBilling/logs/eBilling.log"/>
...
</ appender>
|