Skip to main content

Oracle http-web-access.log file is growing in the long run

http-web-access.log file is in the $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<host>_<sid>/log directory. This log file grows in the long run and can be managed from  $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<host>_<sid>/config/http-web-site.xml file.

<?xml version = '1.0' standalone = 'yes'?>
<!DOCTYPE web-site PUBLIC "OracleAS XML Web-site" "">
<web-site port="1158" display-name="OC4J Java HTTP Web Site">
        <!-- The default web-app for this site, bound to the root -->
        <default-web-app application="default" name="defaultWebApp"/>
        <web-app application="default" name="dms0" root="/dms0"/>
        <web-app application="default" name="dms" root="/dmsoc4j"/>
        <web-app application="em" name="em" load-on-startup="true" root="/em"/>

        <!-- Access Log, where requests are logged to -->
        <access-log path="../log/http-web-access.log"/>
        <!-- Uncomment this if you want to use ODL logging capabilities
        <odl-access-log path="../log/http-web-access" max-file-size="1000" max-directory-size="10000"/>

For changes in order to take effect, oracle dbconsole has to be restarted.


Popular posts from this blog