PageRenderTime 12ms CodeModel.GetById 10ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/V2.2/trunk/LIB/White/log4net.config

#
ASP.NET | 24 lines | 22 code | 2 blank | 0 comment | 0 complexity | cef345b0987d11dd698ede2ffe3962d7 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8" ?>
 2<log4net>
 3  <root>
 4    <level value="Info" />
 5    <appender-ref ref="Console" />
 6    <appender-ref ref="White" />
 7  </root>
 8
 9  <appender name="White" type="log4net.Appender.RollingFileAppender">
10    <file value="White.log" />
11    <appendToFile value="true" />
12    <maximumFileSize value="5MB" />
13    <maxSizeRollBackups value="10" />
14    <layout type="log4net.Layout.PatternLayout">
15      <conversionPattern value="[%d][%-5p] %m%n" />
16    </layout>
17  </appender>
18
19  <appender name="Console" type="log4net.Appender.ConsoleAppender">
20    <layout type="log4net.Layout.PatternLayout">
21      <conversionPattern value="[%d][%-5p] %m%n" />
22    </layout>
23  </appender>
24</log4net>