<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="log4net"
       type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  </configSections>
  <log4net>
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
      <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
      <file value="log\PBS" />
      <appendToFile value="true" />
      <rollingStyle value="Composite" />
      <datePattern value="yyyyMMdd&quot;.log&quot;" />
      <maxSizeRollBackups value="10" />
      <maximumFileSize value="10MB" />
      <staticLogFileName value="false" />
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="&lt;Msg time=&quot;%date&quot; type=&quot;%p&quot;&gt;%message&lt;/Msg&gt;%newline" />
        <!--<param name="ConversionPattern" value="%date [%-5p] %message%newline" />-->
      </layout>
      <filter type="log4net.Filter.LevelRangeFilter">
        <!--<param name="LevelMax" value="ERROR" />-->
        <param name="LevelMin" value="ERROR" />
      </filter>
    </appender>
    <root>
      <level value="ALL" />
      <appender-ref ref="RollingFileAppender" />
    </root>
  </log4net>
</configuration>