<?xml version="1.0" encoding="UTF-8" ?>
<!-- This section contains the log4net configuration settings -->
<log4j:configuration xmlns:log4cxx="http://jakarta.apache.org/log4j/">

  <appender name="LoggingFrameworkRollingFileAppender" class="org.apache.log4j.rolling.RollingFileAppender">
    <param name="filePattern" value=".\\Logs\\LoggingFramework\\%properties{processName}\\LoggingFramework_%d{yyyyMMdd-HHmmSS-SSS}.log" />
    <layout class="org.apache.log4cxx.CCustomPatternLayout">          
      <param name="conversionPattern" value="%d{yyyyMMdd HH:mm:ss,SSS}&#9;%-9p&#9;%t&#9;-&#9;%m%n%throwable%n" />
    </layout>
    <param name="MaxFileSize" value="10MB"/>
    <param name="MaxBackupIndex" value="-1" />
    <param name="append" value="true" />    
  </appender>

  <!-- Specify the appenders for some specific categories -->
   <logger name="LoggingFramework" additivity="false">     
     <appender-ref ref="LoggingFrameworkRollingFileAppender" />
    <level value="INFO"/>
  </logger>

 <!-- Setup the root category, add the appenders and set the default level 
 	     5 level of logging,  ALL < DEBUG < INFO < WARN < ERROR < FATAL 
 	     The root level is set with INFO, which mean any message greater or same
 	     as INFO will be log down, in this case, DEBUG is not logged. 
 	     To log all regardless of logging level, set <priority value="ALL">
 	-->
  <root>
    <priority value="all" />
    <level value="INFO"/>
    <appender-ref ref="LoggingFrameworkRollingFileAppender" />
  </root>

</log4j:configuration>