<?xml version="1.0" encoding="iso-8859-1"?>

<!-- Logging configuration file for OC4J.  The guidelines are based on the
     java.util.logging package and the DTD for this XML file can be found
     in the javadoc for oracle.core.ojdl.logging.LoggingConfiguration on
     http://dms.example.com/javadoc/ -->

<logging_configuration>

  <log_handlers>
    <log_handler name='console-handler' class='java.util.logging.ConsoleHandler' formatter='oracle.core.ojdl.logging.SimpleFormatter'/>
    <log_handler name='oc4j-handler' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
      <property name='path' value='../log/oc4j'/>
      <property name='maxFileSize' value='10485760'/>
      <property name='maxLogSize' value='104857600'/>
      <property name='encoding' value='UTF-8'/>
    </log_handler>
 
  </log_handlers>

  <loggers>

    <!-- Default Logger, useParentHandlers should be set to false because
         the root Logger (named the empty string "") will log to console -->
    <logger name='oracle' level='NOTIFICATION:1' useParentHandlers='false'>
        <handler name='oc4j-handler'/>
        <handler name='console-handler'/>
    </logger>

  </loggers>

</logging_configuration>
