mirror of https://github.com/ArduPilot/ardupilot
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
<configSections>
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
|
</configSections>
|
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
<supportedRuntime version="v2.0.50727"/></startup>
|
|
<appSettings>
|
|
<add key="UpdateLocation"
|
|
value="http://ardupilot-mega.googlecode.com/git/Tools/ArdupilotMegaPlanner/bin/Release/"/>
|
|
</appSettings>
|
|
<log4net>
|
|
<appender name="Console" type="log4net.Appender.ConsoleAppender">
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
<conversionPattern value="%level %logger - %message%newline" />
|
|
</layout>
|
|
<threshold value="INFO"/>
|
|
</appender>
|
|
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
|
|
<file value="ArdupilotPlanner.log" />
|
|
<appendToFile value="true" />
|
|
<maximumFileSize value="100KB" />
|
|
<maxSizeRollBackups value="2" />
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
<conversionPattern value="%date %5level %logger - %message (%file:%line) [%thread]%newline" />
|
|
</layout>
|
|
</appender>
|
|
<root>
|
|
<level value="DEBUG" />
|
|
<appender-ref ref="RollingFile" />
|
|
<appender-ref ref="Console" />
|
|
</root>
|
|
</log4net>
|
|
</configuration>
|