Home » domain.log File Growing Fast - Filesystem Full
Written by ashok.aggarwal on Friday, May 2nd, 2008
Categories: Oracle Fusion Middleware»SOA Suite - BPEL | Oracle Fusion Middleware

Are you running out of disk space because your domain.log is growing too fast?

  1. Open BPEL_HOME/domains//config/log4j-config.xml
  2. Change the appender class from com.collaxa.cube.util.CXRollingFileAppender to org.apache.log4j.RollingFileAppender
  3. Add a new parameter:
    <param value="50MB" name="MaxFileSize" />
    

Here is an example of what the file should look like in the end:


<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender class="org.apache.log4j.RollingFileAppender" name="A1">
<param value="true" name="ImmediateFlush" />
<param value="false" name="Append" />
<param value="D:/soa/product/10.1.3.1/as_1/bpel/domains/default/logs/domain.log" name="File" />
<param value="50MB" name="MaxFileSize" />
<param value="10" name="MaxBackupIndex" />

Notes:

  • MaxFileSize will dictate max size for each log file while MaxBackupIndex will dictate the total number of log files that will accumulate (the above settings will yield a maximum of 550MB
  • Any new domain will get these values be default, so change their respective log4j-config.xml file
  • These changes require a BPEL restart

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.