SOA_HOME\bpel\domains\"domain name"\logs
This happens because the appender tag for domain.log is missing from configuration file located at
SOA_HOME/bpel/domains/
log4j-config.xml configuration file is used to configure logging parameter and location for logging of a domain in a OC4J container.
You need to add some appender class which are responsible for writing in to the domain.log file.
Open up your log4j-config.xml file and make the changes as below
<appender name="A1" class="com.collaxa.cube.util.CXRollingFileAppender">
<param name="ImmediateFlush" value="true"/>
<param name="File"
value="D:/product/10.1.3.1/OracleAS_1/bpel/domains/<domain name>/logs/domain.log"/>
<param name="MaxBackupIndex" value="10"/>
<param value="10MB" name="MaxFileSize" />
<param name="Append" value="false"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="<%d> <%p> <%c> %m%n"/>
</layout>
</appender>
Save the changes and restart your server now u should be able to see logs
No comments:
Post a Comment