<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
  </configSections>
  <log4net>
    <root>
      <level value="DEBUG"/>
      <appender-ref ref="RollingFileAppender"/>
      <appender-ref ref="ConsoleAppender"/>
    </root>
    <!-- Print only messages of level WARN or above in the package Intel.RemoteWake.WakeClientLib.Wake -->
    <logger name="Intel.RemoteWake.WakeClientLib.Wake">
      <level value="WARN" />
    </logger>
    <!--
  This writes the log information to the console window.  It only logs events
  that are at least at the INFO level (which would mean that DEBUG events are not
  captured.
  -->
    <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date{MMddyy HH:mm:ss} %level %message%newline"/>
      </layout>
    </appender>
    <!--
  This stores information in the mylogfile.txt file.  It only captures log events
  that contain the key word test or error.
  -->
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
      <file value="WakeMyPC.ClientLog.txt"/>
      <appendToFile value="true"/>
      <rollingStyle value="Size"/>
      <maxSizeRollBackups value="5"/>
      <maximumFileSize value="10MB"/>
      <staticLogFileName value="true"/>
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date{MMddyy HH:mm:ss} %level %message%newline"/>
      </layout>
    </appender>
  </log4net>
  <appSettings>
    <add key="ServerIP" value="10.0.1.8"/>
    <add key="ServerPort" value="8888"/>
    <add key="UseServer" value="true"/>
    <add key="AppId" value="FCC8B01E-8E9B-4D67-992F-C913CAEBC5CF"/>
  </appSettings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
</configuration>