mirror of https://github.com/ArduPilot/ardupilot
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
|
<?xml version="1.0"?>
|
||
|
<configuration>
|
||
|
<configSections>
|
||
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||
|
</configSections>
|
||
|
<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v2.0.50727"/></startup>
|
||
|
<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="3DRRadio.log" />
|
||
|
<appendToFile value="true" />
|
||
|
<maximumFileSize value="500KB" />
|
||
|
<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>
|