Thursday, June 17, 2010

How to change the default location of domain.log

One of the most important log in debugging BPEL issues is domain.log

ITs default location is

SOA_HOME\bpel\domains\\logs\domain.log

What if you wish to change the location of the domain.log

The configuration for domain.log and its location is specified in a configuration file

log4j-config.xml

IT is found in the following location

SOA_HOME\bpel\domains\\config directory

IF you will open up this file you will find the location where it is specified to log.


As in my case it says

param name="File" value="D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/logs/domain.log"/

So if i want to change it to some different location so that now my log file gets generated in different file location,i will make the change here

so i changed the parameter as

param name="File" value="D:/domain.log"/


as i want my log to be written at this location.

Once you made the changes save it and restart the server.You will find the log file generated in D drive.


The configuration file log4j-config.xml is important as it also contains the logger configuration.

No comments: