<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  </configSections>
  <log4net>
    <root>
      <level value="ALL" />
      <appender-ref ref="SysAppender" />
    </root>
    <logger name="WebLogger">
      <!--配置日志的级别，低于此级别的就不写到日志里面去-->
      <level value="DEBUG" />
    </logger>
    <appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
      <param name="File" value="Logger/" />
      <param name="AppendToFile" value="true" />
      <param name="RollingStyle" value="Date" />
      <param name="DatePattern" value="&quot;Logs_&quot;yyyyMMdd&quot;.txt&quot;" />
      <param name="StaticLogFileName" value="false" />
      <layout type="log4net.Layout.PatternLayout,log4net">
        <param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
        <param name="Header" value="&#xA;----------------------header--------------------------&#xA;" />
        <param name="Footer" value="&#xA;----------------------footer--------------------------&#xA;" />
      </layout>
    </appender>
    <appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net">
      <!--日志的格式-->
      <layout type="log4net.Layout.PatternLayout,log4net">
        <param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
      </layout>
    </appender>
  </log4net>
  <appSettings>
    <add key="TimeSpan" value="10000" />
    <add key="PrintApi" value="http://yunbuapp.com:3030/" />
    <add key="YunbuApi" value="http://api.yunbuapp.com" />
    <add key="AN" value="ASPOSE" />
    <add key="Interval" value="120000" />
    <add key="SecretKey" value="xvCJhijUmqA=" />
    <add key="defaultPrinter" value="" />
    <add key="Version" value="1.0.0.4" />
    <add key="Rem" value="true" />
    <add key="CacheUserInfo" value="" />
  </appSettings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
</configuration>